-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (78 loc) · 1.7 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "rmsyutls"
description = "Utility functions for Ramsey"
authors = [{name = "Simon Dirmeier", email = "[email protected]"}]
readme = "README.md"
license = "Apache-2.0"
homepage = "https://github.com/ramsey-devs/rmsy-utls"
keywords = []
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
requires-python = ">=3.8"
dependencies = [
"chex>=0.1.5",
"jax>=0.4.5",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/ramsey-devs/rmsy-utls"
[tool.hatch.version]
path = "rmsyutls/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"./gitignore",
"/.pre-commit-config.yaml"
]
[tool.hatch.envs.test]
dependencies = [
"pylint>=2.15.10",
"pytest>=7.2.0",
"pytest-cov>=4.0.0"
]
[tool.hatch.envs.test.scripts]
lint = 'pylint rmsyutls'
test = 'pytest -v --doctest-modules --cov=./rmsyutls --cov-report=xml rmsyutls'
[tool.black]
line-length = 80
extend-ignore = "E203"
target-version = ['py39']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 80
include_trailing_comma = true
[tool.flake8]
max-line-length = 80
extend-ignore = ["E203", "W503"]
per-file-ignores = [
'__init__.py:F401',
]
[tool.pylint.messages_control]
disable = """
invalid-name,missing-module-docstring,R0801
"""
[tool.bandit]
skips = ["B101"]