-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
91 lines (83 loc) · 2.12 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
[tool.poetry]
name = "neoconfigen"
authors = ["Omry Yadan", "Rosario Scalise", "PAL <[email protected]>"]
description = "A fork of hydra-core's configen with extended type-compatibility."
version = "1.0.0"
repository="https://github.com/predictive-analytics-lab/neoconfigen"
license = "MIT License"
packages = [{ include = "configen" }]
include=["configen/py.typed"]
classifiers=[
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Typing :: Typed",
]
keywords=["hydra", "python"]
readme="README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
hydra-core = "^1.2.0"
jinja2 = "^3.0.3"
markupsafe = "*"
typing-inspect = "^0.7.1"
[tool.poetry.dev-dependencies]
black = "^23.1"
mypy = "^1.5.1"
pytest = "^6.2.2"
isort = "^5.7.0"
[tool.poetry.scripts]
configen = 'configen.configen:main'
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = "(hydra/grammar/gen|tools/configen/example/gen)"
[tool.isort]
known_third_party = [
"black",
"click",
"click_option_group",
"ethicml",
"hydra",
"matplotlib",
"mypy",
"numpy",
"omegaconf",
"pandas",
"pylint",
"pytest",
"scipy",
"setuptools",
"sklearn",
"torch",
"tqdm",
"wandb",
]
known_future_library = []
extra_standard_library = ["dataclasses", "__future__"]
line_length = 88
profile = "black"
force_sort_within_sections = "True"
classes = ["MISSING"]
[tool.pyright]
include = ["configen"]
exclude = ["**/node_modules", "**/__pycache__"]
typeCheckingMode = "basic"
pythonVersion = "3.10"
reportUnusedImport = "error"
reportDuplicateImport = "error"
reportIncompatibleVariableOverride = "error"
reportOverlappingOverload = "error"
reportUntypedNamedTuple = "error"
reportConstantRedefinition = "warning"
reportMissingImports = "error"
reportMissingTypeStubs = "warning"
strictListInference = true
strictSetInference = true
strictParameterNoneValue = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"