Skip to content

Commit

Permalink
Update deps (#4096)
Browse files Browse the repository at this point in the history
  • Loading branch information
audgirka committed Apr 9, 2024
1 parent 0708be5 commit f8f36fd
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 37 deletions.
43 changes: 23 additions & 20 deletions .config/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile --all-extras --no-annotate --output-file=.config/constraints.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml
#
ansible-compat==4.1.11
ansible-core==2.16.4
ansible-core==2.16.5
astroid==3.1.0
attrs==23.2.0
babel==2.14.0
Expand All @@ -20,7 +20,7 @@ cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
coverage==7.4.3
coverage==7.4.4
coverage-enable-subprocess==1.0
cryptography==42.0.5
csscompressor==0.9.5
Expand All @@ -29,10 +29,10 @@ defusedxml==0.7.1
dill==0.3.8
dnspython==2.6.1
exceptiongroup==1.2.0
execnet==2.0.2
filelock==3.13.1
execnet==2.1.1
filelock==3.13.3
ghp-import==2.1.0
griffe==0.41.3
griffe==0.42.1
htmlmin2==0.1.13
idna==3.6
iniconfig==2.0.0
Expand All @@ -44,7 +44,7 @@ jsonschema==4.21.1
jsonschema-specifications==2023.12.1
license-expression==30.3.0
linkchecker==10.4.0
markdown==3.5.2
markdown==3.6
markdown-exec==1.8.0
markdown-include==0.8.1
markdown-it-py==3.0.0
Expand All @@ -53,40 +53,42 @@ mccabe==0.7.0
mdurl==0.1.2
mergedeep==1.3.4
mkdocs==1.5.3
mkdocs-ansible==24.2.1
mkdocs-ansible==24.3.0
mkdocs-autorefs==1.0.1
mkdocs-gen-files==0.5.0
mkdocs-htmlproofer-plugin==1.2.0
mkdocs-material==9.5.13
mkdocs-macros-plugin==1.0.5
mkdocs-material==9.5.17
mkdocs-material-extensions==1.3.1
mkdocs-minify-plugin==0.8.0
mkdocs-monorepo-plugin==1.1.0
mkdocstrings==0.24.1
mkdocstrings-python==1.8.0
mkdocstrings==0.24.3
mkdocstrings-python==1.9.2
mypy==1.9.0
mypy-extensions==1.0.0
netaddr==1.2.1
packaging==23.2
packaging==24.0
paginate==0.5.6
pathspec==0.12.1
pillow==10.2.0
pipdeptree==2.16.1
pillow==10.3.0
pip==24.0
pipdeptree==2.17.0
platformdirs==4.2.0
pluggy==1.4.0
psutil==5.9.8
pycparser==2.21
pycparser==2.22
pygments==2.17.2
pylint==3.1.0
pymdown-extensions==10.7.1
pytest==8.1.1
pytest-mock==3.12.0
pytest-plus==0.6.1
pytest-mock==3.14.0
pytest-plus==0.7.0
pytest-xdist==3.5.0
python-dateutil==2.9.0.post0
python-slugify==8.0.4
pyyaml==6.0.1
pyyaml-env-tag==0.1
referencing==0.33.0
referencing==0.34.0
regex==2023.12.25
requests==2.31.0
rich==13.7.1
Expand All @@ -95,13 +97,14 @@ ruamel-yaml==0.18.6
six==1.16.0
soupsieve==2.5
subprocess-tee==0.4.1
termcolor==2.4.0
text-unidecode==1.3
tinycss2==1.2.1
tomli==2.0.1
tomlkit==0.12.4
types-jsonschema==4.21.0.20240118
types-pyyaml==6.0.12.12
typing-extensions==4.10.0
types-jsonschema==4.21.0.20240331
types-pyyaml==6.0.12.20240311
typing-extensions==4.11.0
urllib3==2.2.1
watchdog==4.0.0
wcmatch==8.5.1
Expand Down
12 changes: 6 additions & 6 deletions .config/requirements-lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@
# pip-compile --no-annotate --output-file=.config/requirements-lock.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml
#
ansible-compat==4.1.11
ansible-core==2.16.4
ansible-core==2.16.5
attrs==23.2.0
black==24.3.0
bracex==2.4
cffi==1.16.0
click==8.1.7
cryptography==42.0.5
filelock==3.13.1
filelock==3.13.3
jinja2==3.1.3
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
markdown-it-py==3.0.0
markupsafe==2.1.5
mdurl==0.1.2
mypy-extensions==1.0.0
packaging==23.2
packaging==24.0
pathspec==0.12.1
platformdirs==4.2.0
pycparser==2.21
pycparser==2.22
pygments==2.17.2
pyyaml==6.0.1
referencing==0.33.0
referencing==0.34.0
rich==13.7.1
rpds-py==0.18.0
ruamel-yaml==0.18.6
subprocess-tee==0.4.1
tomli==2.0.1
typing-extensions==4.10.0
typing-extensions==4.11.0
wcmatch==8.5.1
yamllint==1.35.1

Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ repos:
- prettier-plugin-toml@2.0.1
- prettier-plugin-sort-json@3.1.0
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.3.0
rev: v8.6.1
hooks:
- id: cspell
# entry: codespell --relative
args: [--relative, --no-progress, --no-summary]
name: Spell check with cspell
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.0
rev: 0.28.1
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.5.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
# ignore formatting-prettier to have an accurate prettier comparison
Expand Down Expand Up @@ -121,7 +121,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.34.0
rev: v1.35.1
hooks:
- id: yamllint
exclude: >
Expand All @@ -136,17 +136,17 @@ repos:
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.1"
rev: "v0.3.5"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.9.0
hooks:
- id: mypy
# empty args needed in order to match mypy cli behavior
Expand Down Expand Up @@ -175,7 +175,7 @@ repos:
plugins/.*
)$
- repo: https://github.com/pycqa/pylint
rev: v3.0.3
rev: v3.1.0
hooks:
- id: pylint
args:
Expand All @@ -199,7 +199,7 @@ repos:
- wcmatch
- yamllint
- repo: https://github.com/jazzband/pip-tools
rev: 7.3.0
rev: 7.4.1
hooks:
- id: pip-compile
name: lock
Expand Down
4 changes: 2 additions & 2 deletions src/ansiblelint/rules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def _enrich_matcherror_with_task_details(
match.task = task
if not match.details:
match.details = "Task/Handler: " + ansiblelint.utils.task_to_str(task)
if match.lineno < task[LINE_NUMBER_KEY]:
match.lineno = task[LINE_NUMBER_KEY]

match.lineno = max(match.lineno, task[LINE_NUMBER_KEY])

def matchlines(self, file: Lintable) -> list[MatchError]:
matches: list[MatchError] = []
Expand Down

0 comments on commit f8f36fd

Please sign in to comment.