-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (82 loc) · 2.24 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "oauth2_capture"
version = "0.1.4"
authors = [{name = "Sam Texas", email = "github+oauth2_capture@simplecto.com"}]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
description = "Capture and store OAuth2 tokens for later use."
dependencies = [
"requests",
"shortuuid==1.0.13"
]
[project.optional-dependencies]
dev = [
"ruff==0.9.6",
"pre-commit==4.1.0",
"flit==3.10.1",
]
[project.urls]
Home = "https://github.com/heysamtexas/oauth2_capture"
Documentation = "https://github.com/heysamtexas/oauth2_capture#readme"
Source = "https://github.com/heysamtexas/oauth2_capture"
Issues = "https://github.com/heysamtexas/oauth2_capture/issues"
[tool.ruff]
# Set the maximum line length to 120.
line-length = 120
target-version = "py312"
exclude = [
"pyproject.toml",
"*/**/tests/*",
"*/**/migrations/*",
".idea/**",
"development/manage.py",
]
[tool.ruff.lint]
# Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that
# overlap with the use of a formatter, like Black, but we can override this behavior by
# explicitly adding the rule.
ignore = [
"ANN101",
"E501",
"D203",
"D213",
"D100",
"COM812"
]
select = ["ALL", "W2", "I"]
exclude = [
"pyproject.toml",
"*/**/tests/**",
"*/**/migrations/**",
".idea/**",
"development/manage.py",
]
[tool.bandit]
exclude = ["development/**/tests/**", "development/**/migrations/*"]
skips = ["B106"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.4"
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",
]