generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (61 loc) · 1.08 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
64
65
66
67
[project]
name = "friendly-umbrella"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13,<3.14"
dependencies = [
"boto3>=1.35.64",
"dj-database-url>=2.3.0",
"django-storages>=1.14.4",
"django>=4.2,<5",
"gunicorn>=23.0.0",
"psycopg2-binary>=2.9",
"whitenoise>=6.7.0",
]
[tool.setuptools]
packages = [
"friendly_umbrella",
"patch_environ",
"s3_uploader",
"db_consumer",
]
[tool.ruff]
# Use PEP8 line-length
line-length = 79
# Exclude common paths
exclude = [
".git",
".tox",
"__pycache__",
"**/migrations/*.py",
]
[tool.ruff.lint]
ignore = ["E731", ]
# Select specific rulesets to use
select = [
# pycodestyle
"E",
# pyflakes
"F",
# flake8-bugbear
"B",
# pyupgrade
"UP",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.lint.isort.sections]
"django" = ["django"]
[tool.ruff.lint.isort]
lines-after-imports = 2
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder",
]