-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (76 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
95 lines (76 loc) · 2.44 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "Filebin.py"
version = "0.1.0a1"
description = "Async Python wrapper for the Filebin.net API"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "Aaron Fredrick", email = "Aaron_Fredrick@proton.me" }
]
dependencies = [
"aiohttp>=3.9",
"Pillow>=10.0",
]
keywords = ["filebin", "api", "async", "file-upload", "file-storage"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-mock>=3.12",
"ruff>=0.4",
"black>=24.0",
]
[project.urls]
Homepage = "https://github.com/aaron-fredrick/Filebin.py"
Repository = "https://github.com/aaron-fredrick/Filebin.py"
Issues = "https://github.com/aaron-fredrick/Filebin.py/issues"
Changelog = "https://github.com/aaron-fredrick/Filebin.py/releases"
[project.scripts]
filebin = "Filebin.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["Filebin"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = [
"network: marks tests that require live network access to Filebin.net (deselect with '-m \"not network\"')",
]
filterwarnings = [
"error",
# aiohttp emits DeprecationWarning for Python 3.12+ — expected upstream noise
"ignore::DeprecationWarning:aiohttp",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = [
# camelCase is the chosen naming convention for this project (greenfield style)
"N802", # Function name should be lowercase
"N818", # Exception name should end with Error suffix
"N999", # Invalid module name (Filebin package)
# __init__ return type annotation omitted intentionally
"ANN204",
# Older Optional[X] / List[X] typing style is preferred over X | None / list[X]
"UP006", "UP007", "UP035", "UP045",
]