forked from rwth-i6/returnn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (25 loc) · 713 Bytes
/
Copy pathpyproject.toml
File metadata and controls
28 lines (25 loc) · 713 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
[tool.black]
line-length = 120
target-version = ["py38"] # https://github.com/rwth-i6/returnn/issues/1326
extend-exclude = '''
/(
# All Git submodules, see .gitmodules.
| returnn/extern/blocksparse
| returnn/extern/kenlm
| returnn/extern/openfst
| returnn/extern/ParseOggVorbis
| returnn/extern/HawkAaronWarpTransducer/warp-transducer
| returnn/extern/WarpRna/warp-rna
)/
'''
[tool.ruff]
line-length = 120
target-version = "py38" # https://github.com/rwth-i6/returnn/issues/1326
extend-exclude = [
".github/workflows/_pytorch_collect_env.py",
]
[tool.ruff.lint]
# Disable fix for unused imports (`F401`).
unfixable = ["F401"]
[build-system]
requires = ["setuptools", "numpy"]