Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jbirddog committed Oct 9, 2024
1 parent 77e0043 commit 48c5474
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
43 changes: 22 additions & 21 deletions poetry.lock

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

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spiffworkflow-connector-command = {git = "https://github.com/sartography/spiffwo
pytest = "^7.2.0"
connector-example = {path = "tests/mock_connectors/connector-example", develop = true}
mypy = "^1.6.0"
ruff = "^0.0.292"
ruff = "^0.6.9"

[build-system]
requires = ["poetry-core"]
Expand All @@ -30,7 +30,7 @@ pythonpath = [
]

[tool.ruff]
select = [
lint.select = [
"B", # flake8-bugbear
"C", # mccabe
"E", # pycodestyle error
Expand All @@ -44,7 +44,7 @@ select = [
"I001" # isort
]

ignore = [
lint.ignore = [
"C901", # "complexity" category
"PLR", # "refactoring" category has "too many lines in method" type stuff
"PLE1205" # saw this Too many arguments for `logging` format string give a false positive once
Expand All @@ -59,11 +59,11 @@ exclude = [
"migrations"
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"migrations/versions/*.py" = ["E501"]
"tests/**/*.py" = ["PLR2004", "S101"] # PLR2004 is about magic vars, S101 allows assert

[tool.ruff.isort]
[tool.ruff.lint.isort]
force-single-line = true

[tool.mypy]
Expand Down
1 change: 1 addition & 0 deletions tests/spiffworkflow_proxy/integration/blueprint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from flask import Flask
from flask.testing import FlaskClient

from spiffworkflow_proxy.blueprint import proxy_blueprint


Expand Down

0 comments on commit 48c5474

Please sign in to comment.