-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (61 loc) · 1.5 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ariautils"
version = "0.0.1"
description = ""
authors = [{name = "Louis Bradshaw", email = "[email protected]"}]
requires-python = ">=3.11"
license = {text = "Apache-2.0"}
dependencies = [
"mido",
]
readme = "README.md"
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.urls]
Repository = "https://github.com/EleutherAI/aria-utils"
[project.optional-dependencies]
dev = [
"mypy",
"black",
"pytest",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["ariautils", "ariautils.*"]
[tool.setuptools.package-data]
ariautils = ["config/*.json"]
[tool.black]
line-length = 80
target-version = ["py311"]
include = '\.pyi?$'
[tool.mypy]
python_version = "3.11"
packages = ["ariautils", "tests"]
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = false
strict_equality = true
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q -s"
testpaths = ["tests"]
python_files = ["test_*.py"]