djlint / djLint

✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
https://djLint.com
GNU General Public License v3.0
686 stars 84 forks source link

chore(deps) Update all non-major dependencies #737

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
coverage 7.2.7 -> 7.3.0 age adoption passing confidence
esbuild ^0.18.0 -> ^0.19.0 age adoption passing confidence
mypy (source, changelog) 1.4.1 -> 1.5.0 age adoption passing confidence
ruff (source, changelog) ^0.0.283 -> ^0.0.284 age adoption passing confidence
tox (changelog) 4.7.0 -> 4.8.0 age adoption passing confidence
tqdm (changelog) 4.65.2 -> 4.66.1 age adoption passing confidence

Release Notes

nedbat/coveragepy (coverage) ### [`v7.3.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-730--2023-08-12) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.2.7...7.3.0) - Added a :meth:`.Coverage.collect` context manager to start and stop coverage data collection. - Dropped support for Python 3.7. - Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode. Coverage.py would fail with the error `Safety level may not be changed inside a transaction.` This is now avoided, closing `issue 1646`\_. Thanks to Michael Bell for the detailed bug report. - Docs: examples of configuration files now include separate examples for the different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini. - Fix: added `nosemgrep` comments to our JavaScript code so that semgrep-based SAST security checks won't raise false alarms about security problems that aren't problems. - Added a CITATION.cff file, thanks to `Ken Schackart `\_. .. \_pull 1641:[https://github.com/nedbat/coveragepy/pull/1641](https://togithub.com/nedbat/coveragepy/pull/1641)1 .. \_issue 1646[https://github.com/nedbat/coveragepy/issues/1646](https://togithub.com/nedbat/coveragepy/issues/1646)46 .. \_changes\_7-2-7:
evanw/esbuild (esbuild) ### [`v0.19.0`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0190) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.18.20...v0.19.0) **This release deliberately contains backwards-incompatible changes.** To avoid automatically picking up releases like this, you should either be pinning the exact version of `esbuild` in your `package.json` file (recommended) or be using a version range syntax that only accepts patch upgrades such as `^0.18.0` or `~0.18.0`. See npm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information. - Handle import paths containing wildcards ([#​56](https://togithub.com/evanw/esbuild/issues/56), [#​700](https://togithub.com/evanw/esbuild/issues/700), [#​875](https://togithub.com/evanw/esbuild/issues/875), [#​976](https://togithub.com/evanw/esbuild/issues/976), [#​2221](https://togithub.com/evanw/esbuild/issues/2221), [#​2515](https://togithub.com/evanw/esbuild/issues/2515)) This release introduces wildcards in import paths in two places: - **Entry points** You can now pass a string containing glob-style wildcards such as `./src/*.ts` as an entry point and esbuild will search the file system for files that match the pattern. This can be used to easily pass esbuild all files with a certain extension on the command line in a cross-platform way. Previously you had to rely on the shell to perform glob expansion, but that is obviously shell-dependent and didn't work at all on Windows. Note that to use this feature on the command line you will have to quote the pattern so it's passed verbatim to esbuild without any expansion by the shell. Here's an example: ```sh esbuild --minify "./src/*.ts" --outdir=out ``` Specifically the `*` character will match any character except for the `/` character, and the `/**/` character sequence will match a path separator followed by zero or more path elements. Other wildcard operators found in glob patterns such as `?` and `[...]` are not supported. - **Run-time import paths** Import paths that are evaluated at run-time can now be bundled in certain limited situations. The import path expression must be a form of string concatenation and must start with either `./` or `../`. Each non-string expression in the string concatenation chain becomes a wildcard. The `*` wildcard is chosen unless the previous character is a `/`, in which case the `/**/*` character sequence is used. Some examples: ```js // These two forms are equivalent const json1 = await import('./data/' + kind + '.json') const json2 = await import(`./data/${kind}.json`) ``` This feature works with `require(...)` and `import(...)` because these can all accept run-time expressions. It does not work with `import` and `export` statements because these cannot accept run-time expressions. If you want to prevent esbuild from trying to bundle these imports, you should move the string concatenation expression outside of the `require(...)` or `import(...)`. For example: ```js // This will be bundled const json1 = await import('./data/' + kind + '.json') // This will not be bundled const path = './data/' + kind + '.json' const json2 = await import(path) ``` Note that using this feature means esbuild will potentially do a lot of file system I/O to find all possible files that might match the pattern. This is by design, and is not a bug. If this is a concern, I recommend either avoiding the `/**/` pattern (e.g. by not putting a `/` before a wildcard) or using this feature only in directory subtrees which do not have many files that don't match the pattern (e.g. making a subdirectory for your JSON files and explicitly including that subdirectory in the pattern). - Path aliases in `tsconfig.json` no longer count as packages ([#​2792](https://togithub.com/evanw/esbuild/issues/2792), [#​3003](https://togithub.com/evanw/esbuild/issues/3003), [#​3160](https://togithub.com/evanw/esbuild/issues/3160), [#​3238](https://togithub.com/evanw/esbuild/issues/3238)) Setting `--packages=external` tells esbuild to make all import paths external when they look like a package path. For example, an import of `./foo/bar` is not a package path and won't be external while an import of `foo/bar` is a package path and will be external. However, the [`paths` field](https://www.typescriptlang.org/tsconfig#paths) in `tsconfig.json` allows you to create import paths that look like package paths but that do not resolve to packages. People do not want these paths to count as package paths. So with this release, the behavior of `--packages=external` has been changed to happen after the `tsconfig.json` path remapping step. - Use the `local-css` loader for `.module.css` files by default ([#​20](https://togithub.com/evanw/esbuild/issues/20)) With this release the `css` loader is still used for `.css` files except that `.module.css` files now use the `local-css` loader. This is a common convention in the web development community. If you need `.module.css` files to use the `css` loader instead, then you can override this behavior with `--loader:.module.css=css`.
python/mypy (mypy) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0)
astral-sh/ruff (ruff) ### [`v0.0.284`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.284) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.283...v0.0.284) #### What's Changed This release fixes a few bugs, notably the previous release announced a breaking change where the default target Python version changed from 3.10 to 3.8 but the change was not applied. Thanks to [@​rco-ableton](https://togithub.com/rco-ableton) for fixing this in [https://github.com/astral-sh/ruff/pull/6444](https://togithub.com/astral-sh/ruff/pull/6444) ##### Bug Fixes - Do not trigger `S108` if path is inside `tempfile.*` call by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/6416](https://togithub.com/astral-sh/ruff/pull/6416) - Do not allow on zero tab width by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/6429](https://togithub.com/astral-sh/ruff/pull/6429) - Fix false-positive in submodule resolution by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/6435](https://togithub.com/astral-sh/ruff/pull/6435) #### New Contributors - [@​rco-ableton](https://togithub.com/rco-ableton) made their first contribution in [https://github.com/astral-sh/ruff/pull/6444](https://togithub.com/astral-sh/ruff/pull/6444) **Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.283...v0.0.284
tox-dev/tox (tox) ### [`v4.8.0`](https://togithub.com/tox-dev/tox/releases/tag/4.8.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.7.0...4.8.0) #### What's Changed - Correct "notset" typo in --hashseed's --help text. by [@​lamby](https://togithub.com/lamby) in [https://github.com/tox-dev/tox/pull/3082](https://togithub.com/tox-dev/tox/pull/3082) - Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3085](https://togithub.com/tox-dev/tox/pull/3085) - Allow extending lists with --override foo+=bar by [@​stefanor](https://togithub.com/stefanor) in [https://github.com/tox-dev/tox/pull/3088](https://togithub.com/tox-dev/tox/pull/3088) #### New Contributors - [@​lamby](https://togithub.com/lamby) made their first contribution in [https://github.com/tox-dev/tox/pull/3082](https://togithub.com/tox-dev/tox/pull/3082) - [@​stefanor](https://togithub.com/stefanor) made their first contribution in [https://github.com/tox-dev/tox/pull/3088](https://togithub.com/tox-dev/tox/pull/3088) **Full Changelog**: https://github.com/tox-dev/tox/compare/4.7.0...4.8.0
tqdm/tqdm (tqdm) ### [`v4.66.1`](https://togithub.com/tqdm/tqdm/releases/tag/v4.66.1): tqdm v4.66.1 stable [Compare Source](https://togithub.com/tqdm/tqdm/compare/v4.66.0...v4.66.1) - fix `utils.envwrap` types ([#​1493](https://togithub.com/tqdm/tqdm/issues/1493) <- [#​1491](https://togithub.com/tqdm/tqdm/issues/1491), [#​1320](https://togithub.com/tqdm/tqdm/issues/1320) <- [#​966](https://togithub.com/tqdm/tqdm/issues/966), [#​1319](https://togithub.com/tqdm/tqdm/issues/1319)) - e.g. cloudwatch & kubernetes workaround: `export TQDM_POSITION=-1` - drop mentions of unsupported Python versions ### [`v4.66.0`](https://togithub.com/tqdm/tqdm/releases/tag/v4.66.0): tqdm v4.66.0 stable [Compare Source](https://togithub.com/tqdm/tqdm/compare/v4.65.2...v4.66.0) - environment variables to override defaults (`TQDM_*`) ([#​1491](https://togithub.com/tqdm/tqdm/issues/1491) <- [#​1061](https://togithub.com/tqdm/tqdm/issues/1061), [#​950](https://togithub.com/tqdm/tqdm/issues/950) <- [#​614](https://togithub.com/tqdm/tqdm/issues/614), [#​1318](https://togithub.com/tqdm/tqdm/issues/1318), [#​619](https://togithub.com/tqdm/tqdm/issues/619), [#​612](https://togithub.com/tqdm/tqdm/issues/612), [#​370](https://togithub.com/tqdm/tqdm/issues/370)) - e.g. in CI jobs, `export TQDM_MININTERVAL=5` to avoid log spam - add tests & docs for `tqdm.utils.envwrap` - fix & update CLI completion - fix & update API docs - minor code tidy: replace `os.path` => `pathlib.Path` - fix docs image hosting - release with CI bot account again ([https://github.com/cli/cli/issues/6680](https://togithub.com/cli/cli/issues/6680))

Configuration

📅 Schedule: Branch creation - "before 10pm on Sunday" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f780bef) 95.34% compared to head (21d9cf7) 95.35%. Report is 35 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #737 +/- ## ======================================= Coverage 95.34% 95.35% ======================================= Files 16 16 Lines 1032 1033 +1 Branches 278 278 ======================================= + Hits 984 985 +1 Misses 34 34 Partials 14 14 ``` | [Files Changed](https://app.codecov.io/gh/Riverside-Healthcare/djLint/pull/737?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riverside-Healthcare) | Coverage Δ | | |---|---|---| | [src/djlint/formatter/condense.py](https://app.codecov.io/gh/Riverside-Healthcare/djLint/pull/737?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riverside-Healthcare#diff-c3JjL2RqbGludC9mb3JtYXR0ZXIvY29uZGVuc2UucHk=) | `97.26% <ø> (ø)` | | | [src/djlint/settings.py](https://app.codecov.io/gh/Riverside-Healthcare/djLint/pull/737?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riverside-Healthcare#diff-c3JjL2RqbGludC9zZXR0aW5ncy5weQ==) | `91.36% <ø> (ø)` | | | [src/djlint/formatter/indent.py](https://app.codecov.io/gh/Riverside-Healthcare/djLint/pull/737?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riverside-Healthcare#diff-c3JjL2RqbGludC9mb3JtYXR0ZXIvaW5kZW50LnB5) | `98.55% <100.00%> (+0.01%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

christopherpickering commented 1 year ago

:tada: This PR is included in version 1.33.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: