mirror of
https://github.com/arcctgx/ARver
synced 2025-06-02 21:43:47 +02:00
Using pyproject.toml allows storing all tools' settings in a single
configuration file.
MyPy configuration is updated: doc/ does not contain any Python code
since 9d0cf6d
, pycdio module requires ignoring missing imports, and
the build/ directory must be excluded, otherwise leftovers of building
wheels are confusing MyPy.
This is just a first step toward migrating ARver to pyproject.toml.
Migrating all settings from setup.py requires more research.
20 lines
363 B
TOML
20 lines
363 B
TOML
[tool.mypy]
|
|
exclude = "build"
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"discid",
|
|
"musicbrainzngs",
|
|
"cdio",
|
|
"pycdio"
|
|
]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pylint.basic]
|
|
# Do not require docstrings for functions whose names begin with
|
|
# underscores, or for main().
|
|
no-docstring-rgx = "^(_|main$)"
|
|
|
|
[tool.yapf]
|
|
based_on_style = "pep8"
|
|
column_limit = 100
|