Skip to content

Commit

Permalink
Add Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 3, 2024
1 parent 26441a3 commit da1b3e0
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 24 deletions.
3 changes: 0 additions & 3 deletions custom/.bandit.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions custom/.prospector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,5 @@ inherits:
- utils:base
- utils:fix
- utils:no-design-checks
- utils:c2cwsgiutils
- duplicated

pylint:
disable:
- missing-timeout # Default timeout set by c2cwsgiutils

bandit:
options:
config: .bandit.yaml
60 changes: 51 additions & 9 deletions custom/poetry.lock

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

8 changes: 4 additions & 4 deletions custom/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ custom-initialize-db = "custom.scripts.initialize_db:main"
main = "custom:main"

[tool.poetry.dependencies]
python = ">=3.12,<3.13"
python = ">=3.12,<3.14"
gunicorn = "23.0.0"
plaster-pastedeploy = "1.0.1"
pyramid = "2.0.2"
Expand Down Expand Up @@ -46,9 +46,9 @@ webob = { version = "1.8.9", optional = true }
cryptography = { version = "43.0.3", optional = true }

[tool.poetry.dev-dependencies]
prospector = { version = "1.13.3", extras = ["with_bandit", "with_mypy", "with_pyroma"] }
prospector-profile-utils = "1.12.2"
prospector-profile-duplicated = "1.8.0"
prospector = { version = "1.13.3", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
prospector-profile-utils = "1.14.0"
prospector-profile-duplicated = "1.8.1"
types-requests = "2.32.0.20241016"
types-oauthlib = "3.2.0.20240806"

Expand Down

0 comments on commit da1b3e0

Please sign in to comment.