Commit bbeeccb3 authored by Carlos Natalino's avatar Carlos Natalino
Browse files

Initial configuration of the tools.

parent 48723cd5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,3 +24,5 @@ pytest==6.2.5
pytest-benchmark==3.4.1
python-dateutil==2.8.2
pytest-depends==1.0.1
ruff
mypy

pyproject.toml

0 → 100644
+37 −0
Original line number Diff line number Diff line
[project]
name = "TeraFlowSDN"
requires-python = ">= 3.9"
readme = "README.md"
license = {file = "LICENSE"}

[project.urls]
Homepage = "https://tfs.etsi.org/"
Documentation = "https://labs.etsi.org/rep/tfs/controller/-/wikis/home"
Repository = "https://labs.etsi.org/rep/tfs/controller"
Issues = "https://labs.etsi.org/rep/tfs/controller/-/issues"

[tool.ruff]
src = ["src"]
select = ["F", "E", "W", "I001"]

[tool.ruff.lint]
extend-select = [
  "UP",  # pyupgrade
]

[tool.mypy]
strict = true
strict_equality = true
no_implicit_optional = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
ignore_missing_imports = true
ignore_missing_imports_per_module = true
disallow_untyped_decorators = false
disallow_untyped_defs = true 
disallow_incomplete_defs = true
disallow_subclassing_any = false
disallow_any_unimported = false
disallow_any_explicit = true
disallow_any_generics = true