clan-core/pyproject.toml

61 lines
693 B
TOML
Raw Permalink Normal View History

[tool.mypy]
python_version = "3.12"
pretty = true
warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
exclude = "clan_cli.nixpkgs"
[tool.ruff]
2023-11-30 12:42:15 +00:00
target-version = "py311"
2024-09-02 12:03:47 +00:00
line-length = 88
2024-09-02 11:40:15 +00:00
lint.select = [
"A",
"ANN",
2024-09-02 12:03:47 +00:00
"ASYNC",
2024-09-02 11:40:15 +00:00
"B",
"C4",
2024-09-02 12:03:47 +00:00
"DTZ",
2024-09-02 11:40:15 +00:00
"E",
2024-09-02 12:03:47 +00:00
"EM",
2024-09-02 11:40:15 +00:00
"F",
"FA",
2024-09-02 11:40:15 +00:00
"I",
"ICN",
"ISC",
"LOG",
2024-09-02 11:40:15 +00:00
"N",
"PIE",
2024-09-02 13:47:17 +00:00
"PT",
2024-09-02 16:25:17 +00:00
"PTH",
"PYI",
2024-09-02 13:58:49 +00:00
"Q",
"RET",
"RSE",
2024-09-02 11:40:15 +00:00
"RUF",
2024-09-02 14:29:50 +00:00
"SIM",
2024-09-02 14:22:10 +00:00
"SLF",
2024-09-02 14:25:11 +00:00
"SLOT",
2024-09-02 12:03:47 +00:00
"T10",
2024-09-02 11:40:15 +00:00
"TID",
2024-09-03 15:56:59 +00:00
"TRY",
2024-09-02 11:40:15 +00:00
"U",
2024-09-02 12:03:47 +00:00
"YTT",
2024-09-02 11:40:15 +00:00
]
2024-09-02 14:29:50 +00:00
lint.ignore = [
"A003",
"ANN101",
"ANN401",
"E402",
"E501",
"E731",
"PT001",
"PT023",
"RET504",
"SIM102",
"SIM108",
"SIM112",
2024-09-03 15:56:59 +00:00
"ISC001",
2024-09-02 14:29:50 +00:00
]