feat: full upgrade to python3, tests, etc.

This commit is contained in:
2025-04-10 16:08:34 +03:00
parent 6aa17ba957
commit dd9f538bb4
18 changed files with 1200 additions and 240 deletions

24
pyproject.toml Normal file
View File

@@ -0,0 +1,24 @@
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "C4", "T20"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["S101"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["."]
python_files = ["*_test.py"]
[tool.pylint.MAIN]
ignore-patterns='^\.#'
ignore-paths='^\.#'
ignore='CVS,.venv'
disable='attribute-defined-outside-init,invalid-name,missing-docstring,protected-access,too-few-public-methods,format'