-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (37 loc) · 962 Bytes
/
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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "hypothesis_torch_utils"
version = "0.1.0"
description = "Hypothesis utilities for PyTorch"
authors = [{ name = "Connor Baker", email = "[email protected]" }]
maintainers = [{ name = "Connor Baker", email = "[email protected]" }]
requires-python = ">=3.10"
license.text = "Apache License 2.0"
dependencies = ["torch>=1.8", "hypothesis>=6"]
[project.optional-dependencies]
dev = ["black>=21.9b0", "mypy>=0.910", "ruff>=0.3.0"]
[tool.black]
line-length = 120
target-version = ['py310']
[tool.ruff]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
]
line-length = 120
[tool.mypy]
python_version = "3.10"
platform = "linux"
strict = true
warn_unused_ignores = false # Pyright catches different things than mypy
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "Linux"
typeCheckingMode = "strict"