-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (33 loc) · 902 Bytes
/
pyproject.toml
File metadata and controls
38 lines (33 loc) · 902 Bytes
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
[tool.poetry]
name = "ravioly"
version = "0.1.0"
description = "Data structure to handle New York city taxi data."
authors = ["yleprince <yrieix.leprince@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.6.1"
pandas = "^1.0.3"
sphinx = "^3.0.3"
sphinx_rtd_theme = "^0.4.3"
[tool.poetry.dev-dependencies]
mypy = "^0.770"
isort = "^4.3.21"
flake8 = "^3.8.1"
black = "^19.10b0"
taskipy = "^1.2.1"
pytest = "^5.4.2"
pytest-cov = "^2.8.1"
ipython = "^7.14.0"
pre-commit = "^2.4.0"
[tool.black]
line-length = 88
target-version = ['py38']
[tool.taskipy.tasks]
lint = "task lint_isort && task lint_mypy && task lint_black && task lint_flake8"
lint_isort = "isort -rc --diff"
lint_mypy = "mypy ./ravioly ./tests"
lint_black = "black . --check --diff"
lint_flake8 = "flake8 ."
test_cov = "pytest --cov --cov-fail-under=100"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"