Skip to content

Commit

Permalink
Updates for ruff warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Mar 21, 2024
1 parent d8139c9 commit 9868623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ target-version = ['py38']
isort = true

[tool.ruff]
select = ["E", "F", "B", "UP"]
target-version = "py38"

[tool.ruff.lint]
select = ["E", "F", "B", "UP"]
# Exceptions:
# B9 flake8-bugbear opinionated warnings
# E501 is line length (delegated to black)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = lint, mypy,test

[testenv]
commands =
lint: ruff .
lint: ruff check .
lint: flake8 .
mypy: mypy rfparser/
test: pytest
Expand Down

0 comments on commit 9868623

Please sign in to comment.