generated from opensafely-core/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.11 KB
/
pyproject.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[project]
name = "actions-registry"
description = "actions-registry"
readme = "README.md"
authors = [{name = "OpenSAFELY", email = "[email protected]"}]
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
]
requires-python = ">=3.10"
[tool.coverage.run]
branch = true
omit = [
".direnv/*",
".venv/*",
"manage.py",
"actions/asgi.py",
"actions/wsgi.py",
"actions/logging.py",
]
[tool.coverage.report]
fail_under = 100
skip_covered = true
[tool.coverage.html]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "actions.settings"
addopts = "--tb=native --ignore=node_modules"
[tool.ruff]
line-length = 88
exclude = [
".direnv",
".git",
".github",
".ipynb_checkpoints",
".pytest_cache",
".venv",
"__pycache__",
"docker",
"htmlcov",
"venv",
]
[tool.ruff.lint]
extend-select = [
"A", # flake8-builtins
"I", # isort
"INP", # flake8-no-pep420
"ISC", # flake8-implicit-str-concat
"UP", # pyupgrade
"W", # pycodestyle warning
]
extend-ignore = [
"E501",
"E731",
]
[tool.ruff.lint.isort]
lines-after-imports = 2