kopia lustrzana https://github.com/micropython/micropython
pyproject.toml: Add a rule for manifest_*.py files at ports/**/mcu.
These were not covered yet and the mcu scheme can be useful for other ports as well. Alternatively, the second rule could just be refer to "**/manifest_*.py" instead of "ports/**/boards/**/manifest_*.py". Signed-off-by: robert-hh <robert@hammelrath.com>pull/12464/head
rodzic
ff69b9370d
commit
3683b977f7
|
@ -50,6 +50,7 @@ max-complexity = 40
|
|||
# manifest.py files are evaluated with some global names pre-defined
|
||||
"**/manifest.py" = ["F821"]
|
||||
"ports/**/boards/**/manifest_*.py" = ["F821"]
|
||||
"ports/**/mcu/**/manifest_*.py" = ["F821"]
|
||||
|
||||
[tool.ruff.format]
|
||||
# Exclude third-party code, and exclude the following tests:
|
||||
|
|
Ładowanie…
Reference in New Issue