-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.13 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "git-get"
authors = [{ name = "Daniel Rocha", email = "daniel@rocha.io" }]
dynamic = ["version", "description"]
requires-python = ">=3.10"
dependencies = ["typer >= 0.6.1", "rich >= 12.6.0"]
[project.urls]
homepage = "/~https://github.com/danroc/git-get"
[tool.flit.module]
name = "gitget"
[project.scripts]
git-get = "gitget:app"
[tool.ruff]
preview = true
[tool.ruff.lint]
extend-select = [
# "D", # pydocstyle
"I", # isort
"UP", # pyupgrade
"S", # flake8-bandit
"B", # flake8-bugbear
"COM", # flake8-commas
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"FIX", # flake8-fixme
"FA", # flake8-future-annotations
"SIM", # flake8-simplify
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_untyped_defs = true
no_implicit_optional = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true