Update old ruff command/options that currently have a deprecation warning.

pull/3507/head
derekpierre 2024-05-28 08:18:43 -04:00
parent 71e868a92b
commit dc3df406b5
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -27,4 +27,4 @@ jobs:
pip install .
- name: Lint with Ruff
run: ruff --output-format=github nucypher
run: ruff check --output-format=github nucypher

View File

@ -84,8 +84,8 @@ pre-commit = '^2.12.1'
showcontent = true
[tool.ruff]
select = ["E", "F", "I"]
ignore = ["E501"]
lint.select = ["E", "F", "I"]
lint.ignore = ["E501"]
[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["nucypher"]