mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
6d316f2bc7
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
22 lines
522 B
TOML
22 lines
522 B
TOML
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
|
[tool.ruff]
|
|
lint.select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
|
lint.ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
|
lint.flake8-implicit-str-concat.allow-multiline=false
|
|
|
|
line-length = 160
|
|
target-version="py311"
|
|
|
|
[mypy.tool]
|
|
# third-party packages
|
|
ignore_missing_imports=true
|
|
|
|
# helpful warnings
|
|
warn_redundant_casts=true
|
|
warn_unreachable=true
|
|
warn_unused_ignores=true
|
|
|
|
# restrict dynamic typing
|
|
warn_return_any=true
|
|
check_untyped_defs=true
|