-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
126 lines (117 loc) · 2.9 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
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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dash-file-cache"
authors = [{ name = "Yuchen Jin", email = "[email protected]" }]
maintainers = [{ name = "Yuchen Jin", email = "[email protected]" }]
dynamic = [
"version",
"readme",
"description",
"classifiers",
"dependencies",
"optional-dependencies",
]
keywords = [
"python",
"python3",
"python-library",
"dash",
"plotly-dash",
"python-dash",
"flask",
"service",
"cache",
"cache-service",
"downloader",
"file-downloads",
]
license = { text = "MIT License" }
requires-python = ">=3.8"
[project.urls]
Homepage = "https://github.com/cainmagi/dash-file-cache"
Documentation = "https://cainmagi.github.io/dash-file-cache/"
Repository = "https://github.com/cainmagi/dash-file-cache.git"
Issues = "https://github.com/cainmagi/dash-file-cache/issues"
Changelog = "https://github.com/cainmagi/dash-file-cache/blob/main/Changelog.md"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "version.__version__" }
description = { file = "py-description.txt" }
readme = { file = ["README.md"], content-type = "text/markdown" }
classifiers = { file = "classifiers.txt" }
dependencies = { file = ["requirements.txt"] }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements-dev.txt"] }
test = { file = ["tests/requirements.txt"] }
[tool.setuptools.packages.find]
where = ["."]
include = ["dash_file_cache*"]
exclude = ["src", "version", "docker", "tests*", "examples*", "docs*"]
namespaces = false
[tool.black]
line-length = 88
include = '\.pyi?$'
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
^/dash_file_cache/_imports_.py
|^/_validate_init.py
|^/docs
)
'''
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "tests/"
addopts = "-rsxX -vv"
log_level = "INFO"
log_format = "%(name)s | %(filename)s - %(funcName)s @ %(asctime)s: %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = true
log_cli_level = "INFO"
selenium_exclude_debug = "html:logs:screenshot"
filterwarnings = ["ignore::DeprecationWarning:selenium"]
[tool.pyright]
include = ["dash_file_cache", "tests", "examples"]
exclude = [
"**/node_modules",
"**/__pycache__",
"src",
"alpha-*",
"data-*",
"logs",
"docs",
"outputs",
".VSCodeCounter",
".github",
".git",
".yarn",
"deps",
"inst/deps",
"man",
"R",
"src",
"env",
"ENV",
"venv",
"VENV",
".env",
".venv",
"database",
"**/.yarn",
"**/node_modules",
"**/__pycache__",
"typestubs",
"setup.py",
"version",
"_validate_init.py",
]
ignore = ["version", "setup.py", "_validate_init.py"]
defineConstant = { DEBUG = true }
reportMissingImports = "error"
reportMissingTypeStubs = false