Skip to content

Commit

Permalink
Switch from "flake8" to "ruff" due to WNF-up
Browse files Browse the repository at this point in the history
  • Loading branch information
davedittrich committed Oct 4, 2024
1 parent ce0c349 commit 94f8670
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 64 deletions.
96 changes: 39 additions & 57 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ bullet = "^2.2.0"
cliff = "^4.7.0"
configobj = "^5.0.8"
gnupg = "^2.3.1"
importlib_metadata = "^4.13.0"
ipwhois = "^1.2.0"
jinja2 = "^3.1.4"
lxml = "^5.3.0"
Expand All @@ -138,12 +137,12 @@ requests = "^2.32.3"
sphinx = "^8.0.2"
setuptools = "^75.1.0"
xkcdpass ="^1.19.9"
ruff = "^0.6.9"

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
flake8 = "^3.9.2"
tox = "^4.8.1"
bandit = "^1.7.9"

Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ depends =
report: py310,py311,py312
allowlist_externals =
coverage
flake8
ruff
make
poetry
pytest
Expand Down Expand Up @@ -78,13 +78,12 @@ commands = make twine-check

[testenv:pep8]
#allowlist_externals =
# flake8
# ruff
# poetry
deps =
#commands = flake8 psec tests docs/conf.py
#commands = ruff psec tests docs/conf.py
commands =
# poetry install --no-root --with=dev
flake8 -v --extend-exclude tests/libs/ tests/ docs/conf.py
ruff check -v --extend-exclude tests/libs/ tests/ docs/conf.py

[testenv:bandit]
; Run security linter
Expand Down

0 comments on commit 94f8670

Please sign in to comment.