-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (119 loc) · 3.28 KB
/
pyproject.toml
File metadata and controls
145 lines (119 loc) · 3.28 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[build-system]
requires = ["hatchling","hatch-requirements-txt"]
build-backend = "hatchling.build"
#Project
[project]
name = "auto-aws-sso"
dynamic = ["version","dependencies","optional-dependencies"]
description = "Fuck AWS SSO."
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{ name = "Nikhil Badyal", email = "nikhill773384@gmail.com" },
]
keywords = [
"aws",
"sso",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"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",
"Typing :: Typed",
"Topic :: Internet",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://github.com/nikhilbadyal/auto-aws-sso"
"Bug Tracker"="https://github.com/nikhilbadyal/auto-aws-sso/issues"
Repository = "https://github.com/nikhilbadyal/auto-aws-sso.git"
[project.scripts]
auto-aws-sso = "auto_aws_sso.cli:cli"
#Hatch
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
dev = ["requirements.dev.txt"]
[tool.hatch.version]
path = "auto_aws_sso/__init__.py"
[tool.hatch.build.targets.sdist]
only-include = ["auto_aws_sso"]
[tool.hatch.build.targets.wheel]
only-include = ["auto_aws_sso"]
[tool.ruff]
line-length = 120
target-version = "py311"
fix = true
show-fixes = true
[tool.ruff.lint]
select = [ "ALL"]
ignore = [
"BLE001", # Do not catch blind exception: `Exception`
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D401", # First line of docstring should be in imperative mood
"T201", # Remove print
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.docformatter]
recursive = true
wrap-summaries = 120
wrap-descriptions = 120
[tool.black]
line-length = 120
[pycodestyle]
max-line-length = 120
exclude = ["venv"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
[tool.pyright]
include = ["."]
typeCheckingMode = "strict"
exclude = ["**/test",]
reportMissingTypeStubs = false
[tool.tbump]
github_url = "https://github.com/nikhilbadyal/auto-aws-sso"
[tool.tbump.version]
current = "1.0.1"
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "⬆️ Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "auto_aws_sso/__init__.py"
[[tool.tbump.before_commit]]
name = "Run Pre-commit"
cmd = "pre-commit run -a"
[tool.vulture]
min_confidence = 65
exclude = [".venv/"]
[tool.deadcode]
exclude = [".venv"]