Skip to content

Commit

Permalink
Merge pull request #3560 from Unidata/dependabot-pip-ci-ruff-0.5.1
Browse files Browse the repository at this point in the history
CI: (deps): Bump ruff from 0.4.10 to 0.5.1 in /ci
  • Loading branch information
dcamron committed Jul 9, 2024
2 parents f7215f3 + bb263fd commit a31e775
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
for dep in src:
dep = dep.split(';')[0]
out.write(dep.replace('>=', '==') + '\n')
# Only needed while we support numpy 1.20
if fname == 'requirements.txt':
out.write('pillow!=10.4.0\n')
EOF
- name: Install from PyPI
Expand Down
2 changes: 1 addition & 1 deletion ci/linting_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruff==0.4.10
ruff==0.5.1

flake8==7.1.0
pycodestyle==2.12.0
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ preview = true

[tool.ruff.lint]
select = ["A", "B", "C", "CPY001", "D", "E", "E226", "F", "G", "I", "N", "NPY", "Q", "R", "S", "SIM", "T", "U", "W"]
ignore = ["F405", "I001", "RET504", "RET505", "RET506", "RET507", "RUF100"]
# NPY201 ignores the use of 'trapz' false alarm
ignore = ["F405", "I001", "NPY201", "RET504", "RET505", "RET506", "RET507", "RUF100"]
explicit-preview-rules = true

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit a31e775

Please sign in to comment.