Skip to content

Commit

Permalink
Check imports with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Sep 28, 2024
1 parent 67c9f9a commit 7dbb6ae
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ warn_return_any = false
warn_unused_configs = true

[[tool.mypy.overrides]]
module = [
"galaxy.*",
"anytree.*",
]
module = ["galaxy.*", "anytree.*"]
ignore_missing_imports = true


Expand Down Expand Up @@ -38,6 +35,9 @@ unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

# Enable the isort rules.
extend-select = ["I"]

[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
Expand All @@ -64,4 +64,3 @@ docstring-code-format = true
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"

0 comments on commit 7dbb6ae

Please sign in to comment.