-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
96 lines (72 loc) · 2.14 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
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[project]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
authors = [
{name = "Nasy", email = "nasyxx+python@gmail.com"},
]
version = "0.10.0"
dynamic = ["classifiers"]
requires-python = ">=3.9"
license = {text = "GPL-v3"}
dependencies = [
"ipython",
]
description = "Nasy IPython Extensions."
name = "naipyext"
[project.urls]
homepage = "https://github.com/nasyxx/naipyext"
[project.optional-dependencies]
be = ["rich"]
ns = ["httpx", "numpy", "pandas", "pdir2", "tqdm"]
other = ["httpx", "jupyter-qtconsole-colorschemes", "ptpython", "rich", "sympy"]
all = ["httpx", "jupyter-qtconsole-colorschemes", "numpy", "pandas", "pdir2", "ptpython", "rich", "sympy", "tqdm"]
[tool.pdm.build]
includes = [
"README.md",
"naipyext"
]
[tool.mypy]
python_executable = "python"
ignore_missing_imports = true
exclude = [
"__pypackages__/",
]
[tool.isort]
profile = "black"
group_by_package = true
color_output = true
combine_straight_imports = true
import_heading_stdlib = "Standard Library"
known_db = ["lucene", "lupyne", "elasticsearch", "sqlite", "shelve"]
import_heading_db = "Database"
known_tf = ["tensorflow", "keras"]
import_heading_tf = "Tensorflow"
known_torch = ["torch", "torchdata", "torchvision", "pytorch_lightning"]
import_heading_torch = "Torch"
known_types = ["typing", "types"]
import_heading_types = "Types"
known_config = ["config", "settings", "cfg", "smile_config"]
import_heading_config = "Config"
known_math = ["numpy", "scipy", "sklearn", "pandas"]
import_heading_math = "Math"
import_heading_thirdparty = "Others"
import_heading_localfolder = "Local"
known_localfolder = ["sites", "src"]
import_heading_utils = "Utils"
known_utils = ["tqdm", "rich"]
sections = ["FUTURE", "FIRSTPARTY", "STDLIB", "UTILS", "DB", "MATH", "TF", "TORCH", "CONFIG", "TYPES", "THIRDPARTY", "LOCALFOLDER"]
[tool.pyright]
pythonVersion = "3.10"
extraPaths = [
"__pypackages__/3.9/lib",
"__pypackages__/3.10/lib",
"__pypackages__/3.11/lib",
]
exclude = [
"**/__pycache__",
]
reportMissingTypeStubs = "information"
useLibraryCodeForTypes = true