Skip to content

Commit

Permalink
Update: Static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
wysockipiotr committed May 16, 2024
1 parent 1ead640 commit 444b975
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 1 deletion.
176 changes: 175 additions & 1 deletion poetry.lock

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

14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,21 @@ attrs = "^23.2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
ruff = "^0.4.3"
pyright = "^1.1.363"
import-linter = "^2.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff.lint]
select = ["I", "W", "E", "F"]

[tool.importlinter]
root_package = "smartschedule"

[[tool.importlinter.contracts]]
name = "sorter does not depend on planning"
type = "forbidden"
source_modules = ["smartschedule.sorter"]
forbidden_modules = ["smartschedule.planning"]

0 comments on commit 444b975

Please sign in to comment.