-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (89 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
97 lines (89 loc) · 2.48 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
[project]
name = "bunkr"
authors = [{name = "NTFSvolume", email = "NTFSvolume@proton.me"}]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python"
]
dependencies = [
"aiohttp>=3.11.10",
"cyclopts>=4.10.0",
"pydantic>=2.11"
]
description = "Async Bunkr uploader"
license = "MIT"
readme = "README.md"
requires-python = ">=3.11"
version = "0.1.4"
[project.scripts]
bunkr = "bunkr.__main__:app"
bunkr_uploader = "bunkr.__main__:app"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"ASYNC", # async calls that do not await anything or use blocking methods
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM8", # flake8-commas linter
"E", # pycodestyle errors
"F", # pyflakes
"FA102", # future annotations
"I", # isort
"N", # PEP8 naming conventions
"PTH", # use pathlib instead of os
"Q", # flake8-quotes
"RUF", # RUF specific fixes
"T20", # flake8-print
"TC", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W" # pycodestyle warnings
]
extend-safe-fixes = [
"TC" # move import from and to TYPE_CHECKING blocks
]
ignore = [
"COM812", # missing-trailing-comma
"E501", # suppress line-too-long, let formatter decide
"N806" # uppercase variables in functions
]
unfixable = [
"ERA" # do not autoremove commented out code
]
[tool.ruff.lint.per-file-ignores]
"**/{tests,docs}/*" = [
"E402", # imports not at the top of the file.
"T20" # flake8-print
]
"__init__.py" = ["E402"] # imports not at the top of the file.
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.tomlsort]
all = true
ignore_case = true
in_place = true
sort_first = ["name", "project", "select", "tool"]
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.8.17,<0.9.0"]
[dependency-groups]
dev = [
"prek>=0.3.6",
"ruff>=0.15.0"
]