2023-09-29 14:04:56 +00:00
|
|
|
[tool.mypy]
|
|
|
|
python_version = "3.10"
|
2023-11-03 12:37:09 +00:00
|
|
|
pretty = true
|
2023-09-29 14:04:56 +00:00
|
|
|
warn_redundant_casts = true
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
exclude = "clan_cli.nixpkgs"
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 88
|
2023-11-30 12:42:15 +00:00
|
|
|
target-version = "py311"
|
2024-03-03 05:19:55 +00:00
|
|
|
lint.select = [ "E", "F", "I", "U", "N", "RUF", "ANN", "A" ]
|
|
|
|
lint.ignore = [ "E501", "ANN101", "ANN401", "A003"]
|