-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (69 loc) · 1.47 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 = "thompson-sampling"
version = "0.1.0"
description = "Thompson Sampling for scheduling in dynamic environments."
authors = ["Mehmet Aktas <mfatihaktas@gmail.com>"]
readme = "README.md"
packages = [
{ include = "src" }
]
[tool.poetry.dependencies]
python = "^3.11"
simpy = "^4.0.1"
numpy = "^1.23.5"
black = "^22.10.0"
flake8 = "^6.0.0"
matplotlib = "^3.6.2"
joblib = "^1.2.0"
scipy = "^1.9.3"
snakeviz = "^2.1.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py39"]
exclude = '''
/(
\.git
| \.venv
| \.direnv
| _build
| build
| dist
| \.env
| \.vscode
| \.cache
| github
| __pycache__
| .cloudignore
)/
'''
[tool.flake8]
max-line-length = 100
max-complexity = 18
docstring-convention = "google"
select = ["A", "B", "C", "D", "E", "F", "W"]
ignore = ["B950", "D1", "E203", "E221", "E501", "W503", "E231"]
per-file-ignores = [
"__init__.py : F401",
]
exclude = [
# No need to traverse our git dirs
".git", ".github",
# No value in checking cache dirs
"__pycache__",
# No need to check virtualenvs
".env", ".venv", ".direnv",
]
[tool.pytest.ini_options]
minversion = "6.1"
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(levelname)s] %(file_name)s:%(line_number)s - %(func_name)s: %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
testpaths = [
"tests",
]