-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
64 lines (57 loc) · 1.39 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "django_reference_implemetation"
authors = [{name = "SimpleCTO", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
dscription = "Django Reference Implementation, a boilerplate Django project."
versions = "0.1.0"
[project.urls]
Home = "https://github.com/simplecto/django-reference-implementation"
[tool.ruff]
# Set the maximum line length to 120.
line-length = 120
target-version = "py312"
exclude = [
"pyproject.toml",
"src/**/tests/*",
"src/**/migrations/*",
".idea/**",
"src/manage.py",
]
[tool.ruff.lint]
ignore = [
"ANN101",
"E501",
"D203",
"D213",
"D100",
"COM812",
"RUF012",
]
select = ["ALL", "W2", "I"]
exclude = [
"pyproject.toml",
"src/**/tests/**",
"src/**/migrations/**",
".idea/**",
"src/manage.py",
]
[tool.bandit]
exclude = ["src/**/tests/**", "src/**/migrations/*"]
skips = ["B106"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.0"
tag_format = "$version"
bump_message = "bump: version $current_version → $new_version"
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"
changelog_incremental = true
version_files = [
"pyproject.toml:^version",
"Dockerfile:VERSION",
]