forked from EdAbati/fsdl-2022-weak-supervision-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (51 loc) · 1.24 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
[tool.poetry]
authors = ["example <[email protected]", "example 2 <[email protected]"]
description = "A collection of services for the fsdl 2022 project"
name = "fsdl-2022-weak-supervision-project-main"
version = "0.1.0"
[tool.poetry.dependencies]
python = "~3.9.13"
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.20.0"
black = "^22.8.0"
flake8 = "^5.0.4"
ipykernel = "^6.15.3"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.pytest.ini_options]
addopts = "-ra -q"
log_cli = true
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_level = "INFO"
minversion = "6.0"
testpaths = [
"src/tests",
]
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
include = '\.pyi?$'
line-length = 79
target-version = ['py37', 'py38', 'py39']
[tool.isort]
line_length = 79
multi_line_output = 3
profile = "black"