Programování v GIS 2
2025-04-07
typing.cast()
pyproject.toml
pyproject.toml
, který je v kořenovém adresáři projektu, kde nástroje nastavení načtousettings.json
pyproject.toml
[tool.flake8]
exclude = [".git", "__pycache__", "tests/*"]
max-line-length = 120
ignore = "W293,W504"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
"redefined-outer-name",
"no-name-in-module",
"missing-function-docstring",
"missing-module-docstring",
"missing-class-docstring",
"invalid-name",
"too-many-arguments",
"attribute-defined-outside-init",
]
[tool.mypy]
follow_imports = "silent"
ignore_missing_imports = true
show_column_numbers = true
no_pretty = true
no_strict_optional = true
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
Materiály dostupné: https://jancaha.github.io/vsb-vyuka/