-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
62 lines (54 loc) · 1.14 KB
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
[project]
name = "pgcommitfest"
description = "Commitfest app for the PostgreSQL community"
dynamic = ["version"]
readme = "README.md"
license = "PostgreSQL"
dependencies = [
"django>=4.2,<5.0",
"psycopg2",
"simplejson",
"requests",
"pycryptodomex",
]
[project.optional-dependencies]
dev = [
"uwsgi",
"pycodestyle",
"ruff",
"djhtml",
"pytest",
"pytest-django",
"freezegun",
]
[tool.setuptools.packages.find]
include = ["pgcommitfest*"]
[tool.pycodestyle]
statistics = true
ignore = ["E402", "E501", "W503"]
max-line-length = 120
[tool.ruff]
extend-exclude = ['pgcommitfest/auth.py']
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
section-order = [
"future",
"django",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
# Group all Django imports into a separate section.
django = ["django"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "pgcommitfest.test_settings"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
testpaths = ["pgcommitfest"]
addopts = [
"--reuse-db",
"--strict-markers",
"-vv",
]