-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (67 loc) · 1.52 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
[tool.poetry]
name = "evse"
version = "0.5.0"
description = "Work from TotalEnergies team 1 on the EV charlenge proposed by Shell: https://www.hackerearth.com/en-us/challenges/competitive/shellai-hackathon-2022"
authors = ["Shell AI team 1"]
[tool.poetry.dependencies]
python = "^3.8"
pandas = "^1.4.4"
numpy = "^1.23.2"
ortools = "^9.4.1874"
tqdm = "^4.64.1"
sklearn = "^0.0"
xgboost = "^1.6.2"
matplotlib = "^3.6.0"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
flake8 = "^4.0.1"
bandit = "^1.7.0"
pre-commit = "^2.15.0"
pytest-cov = "^3.0.0"
flake8-formatter-junit-xml = "^0.0.6"
isort = "^5.9.3"
safety = "^1.10.3"
black = "^22.3.0"
python-semantic-release = "^7.29.7"
notebook = "^6.4.12"
[tool.pytest.ini_options]
junit_family = "xunit1"
[tool.coverage.run]
source=["evse/*"]
omit=["tests/*","venv/*"]
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
[tool.semantic_release]
version_variable = [
"pyproject.toml:version",
"evse/__init__.py:__version__"
]
branch = "main"
upload_to_repository = false
upload_to_release = false
build_command = "pip install poetry && poetry build"
commit_author = "EVSE Build Service"
repository = "evse"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"