-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (26 loc) · 998 Bytes
/
Copy pathpyproject.toml
File metadata and controls
30 lines (26 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[build-system]
requires = ["setuptools>=83.0.0",
"setuptools_scm[toml]>=10.2.0",
# needed to compile the gettext (.po -> .mo) translation catalogs
# at build time (see the build_py hook in setup.py)
"Babel>=2.18.0",
"wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "ginga/version.py"
version_scheme = "release-branch-semver"
[tool.ruff]
target-version = "py311"
# files not linted: demo notebooks and the pyodide top-level-await examples
extend-exclude = ["*.ipynb", "ginga/examples/pg/pyscript"]
[tool.ruff.lint]
# match flake8's coverage: pycodestyle (E/W) + pyflakes (F)
select = ["E", "F", "W"]
ignore = [
"E265", # block comment should start with '# '
"E266", # too many leading '#' for block comment
"E402", # module level import not at top of file
"E741", # ambiguous variable name 'l'
"E501", # line too long
"F841", # local variable assigned to but never used
]