-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (89 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
101 lines (89 loc) · 2.07 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
[project]
name = "apyrat"
version = "0.2.2"
description = "An Aparat video downloader. simple, but elegant."
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{name = "Emad Rad"},
{email = "codewithemad@gmail.com"},
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"click>=8.0.4",
"requests>=2.31.0",
"wget>=3.2",
]
[project.urls]
Homepage = "https://github.com/codewithemad/apyrat"
Issues = "https://github.com/codewithemad/apyrat/issues"
[project.optional-dependencies]
dev = [
"coverage>=7.2.7",
"pytest>=7.4.4",
"pytest-sugar>=1.0.0",
"ruff>=0.9.7",
]
[project.scripts]
apyrat = "src.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[build-system]
requires = ["hatchling>=1.18.0"]
build-backend = "hatchling.build"
[dependency-groups]
dev = []
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.mccabe]
max-complexity = 10