generated from TidalPaladin/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (83 loc) · 1.59 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
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[project]
name = "triton-helpers"
description = ""
requires-python = ">=3.9"
authors = [
{name = "Scott Chase Waggener", email = "tidalpaladin@protonmail.com"},
]
dependencies = [
"torch>=2.0",
"triton>=2.0",
"pandas>=2.2.1",
"pyarrow>=15.0.2",
"tqdm>=4.66.2",
"jsonargparse[signatures]>=4.27.6",
"setuptools>=69.2.0",
"matplotlib>=3.8.3",
]
readme = "README.md"
license = {text = "Apache"}
dynamic = ["version"]
[tool.autoflake]
remove-all-unused-imports = true
remove-unused-variables = true
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6,E203"
in-place = true
recursive = true
aggressive = 3
[tool.black]
line-length = 120
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 119
lines_after_imports = 2
multi_line_output = 3
use_parentheses = false
[tool.pyright]
include = ["project", "tests"]
exclude = [
"**/node_modules",
"**/__pycache__",
"**/.pytest_cache",
]
ignore = ["src/oldstuff"]
pythonVersion = "3.11"
pythonPlatform = "Linux"
[tool.coverage.report]
omit = [
"triton_helpers/layers/**/__main__.py"
]
[tool.pdm]
version = { source = "scm" }
[tool.pdm.dev-dependencies]
test = [
"pytest",
"pytest-mock",
"pytest-cov",
"pytest-env",
"coverage",
"pdbpp",
]
quality = [
"autoflake",
"autopep8",
"black",
"flake8",
"isort",
]
[tool.pytest.ini_options]
markers = [
"ci_skip",
"cuda",
]
filterwarnings = []
# Sample script config
#[project.scripts]
#foo = "project.cli.__main__:main"