-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
90 lines (79 loc) · 2.1 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pylint==2.15.10",
"pytest~=7.2",
"pytest-asyncio==0.21.0",
"pytest-cov~=5.0",
"pytest-dotenv==0.5.2",
"pytest-mock==3.11.1",
"types-PyYAML>=6.0.12.12,<7",
"types-requests>=2.28.11.8",
]
[project]
name = "practice"
version = "1.0.0"
description = "Python Spiders, Tools by uusama"
authors = [{name = "uusama", email = ""}]
requires-python = ">=3.10,<4.0"
readme = "README.md"
license = "MIT"
maintainers = [
{name = "uusama", email = ""},
]
keywords = ["Spider", "Tool"]
dependencies = [
"SQLAlchemy",
"pymysql",
"requests",
"beautifulsoup4",
"lxml",
"pillow",
"cloudscraper",
"pycryptodome",
"xmltodict",
"pywin32",
]
[project.urls]
Homepage = "https://github.com/youyouzh/PythonPractice"
Repository = "https://github.com/youyouzh/PythonPractice"
Documentation = "https://github.com/youyouzh/PythonPractice"
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words-list = "astroid,gallary,momento,narl,ot,rouge"
# Feel free to un-skip examples, and experimental, you will just need to
# work through many typos (--write-changes and --interactive will help)
skip = "./examples,./experimental,*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"
[tool.coverage.run]
omit = [
"test/*",
]
[tool.mypy]
disallow_untyped_defs = true
# Remove venv skip when integrated with pre-commit
exclude = ["_static", "build", "examples", "notebooks", "venv"]
explicit_package_bases = true
ignore_missing_imports = true
namespace_packages = true
plugins = "pydantic.mypy"
python_version = "3.10"
[tool.tomlsort]
all = true
in_place = true
spaces_before_inline_comment = 2 # Match Python PEP 8
spaces_indent_inline_array = 4 # Match Python PEP 8
trailing_comma_inline_array = true
[tool.tomlsort.overrides."tool.poetry.dependencies"]
table_keys = false
[tool.uv]
[[tool.uv.index]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[[tool.uv.index]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/"
explicit = true