Mercurial
comparison third_party/emsdk/pyproject.toml @ 186:8cf4ec5e2191 hg-web
Fixed merge conflict.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:38:59 -0800 |
| parents | 8d17f6e6e290 |
| children |
comparison
equal
deleted
inserted
replaced
| 176:fed99fc04e12 | 186:8cf4ec5e2191 |
|---|---|
| 1 [project] | |
| 2 requires-python = ">=3.2" | |
| 3 | |
| 4 [tool.ruff] | |
| 5 line-length = 100 | |
| 6 exclude = [ | |
| 7 "./cache/", | |
| 8 "./node_modules/", | |
| 9 "./site/source/_themes/", | |
| 10 "./site/source/conf.py", | |
| 11 "./system/lib/", | |
| 12 "./test/third_party/", | |
| 13 "./third_party/", | |
| 14 "./tools/filelock.py", | |
| 15 "./tools/scons/", | |
| 16 ".git", | |
| 17 ] | |
| 18 | |
| 19 lint.select = [ | |
| 20 "ARG", | |
| 21 "ASYNC", | |
| 22 "B", | |
| 23 "C4", | |
| 24 "C90", | |
| 25 "COM", | |
| 26 "E", | |
| 27 "F", | |
| 28 "I", | |
| 29 "PERF", | |
| 30 "PIE", | |
| 31 "PL", | |
| 32 "UP", | |
| 33 "W", | |
| 34 "YTT", | |
| 35 ] | |
| 36 lint.external = [ "D" ] | |
| 37 lint.ignore = [ | |
| 38 "B011", # See https://github.com/PyCQA/flake8-bugbear/issues/66 | |
| 39 "B023", | |
| 40 "B026", | |
| 41 "E402", | |
| 42 "E501", | |
| 43 "E721", | |
| 44 "E741", | |
| 45 "PERF203", | |
| 46 "PERF401", | |
| 47 "PLC0415", | |
| 48 "PLR0915", | |
| 49 "PLR1704", | |
| 50 "PLR5501", | |
| 51 "PLW0602", | |
| 52 "PLW0603", | |
| 53 "PLW1510", | |
| 54 "PLW2901", | |
| 55 "UP030", # TODO | |
| 56 "UP031", # TODO | |
| 57 "UP032", # TODO | |
| 58 ] | |
| 59 lint.per-file-ignores."emrun.py" = [ "PLE0704" ] | |
| 60 lint.per-file-ignores."tools/ports/*.py" = [ "ARG001", "ARG005" ] | |
| 61 lint.per-file-ignores."test/other/ports/*.py" = [ "ARG001" ] | |
| 62 lint.per-file-ignores."test/parallel_testsuite.py" = [ "ARG002" ] | |
| 63 lint.per-file-ignores."test/test_benchmark.py" = [ "ARG002" ] | |
| 64 lint.mccabe.max-complexity = 51 # Recommended: 10 | |
| 65 lint.pylint.allow-magic-value-types = [ | |
| 66 "bytes", | |
| 67 "float", | |
| 68 "int", | |
| 69 "str", | |
| 70 ] | |
| 71 lint.pylint.max-args = 15 # Recommended: 5 | |
| 72 lint.pylint.max-branches = 50 # Recommended: 12 | |
| 73 lint.pylint.max-returns = 16 # Recommended: 6 | |
| 74 lint.pylint.max-statements = 142 # Recommended: 50 |