-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
58 lines (50 loc) · 1.1 KB
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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "linechart"
version = "0.0.1"
description = "Present data series in a line chart"
authors = ["Adam Hooper <adam@adamhooper.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "~=3.8"
python-dateutil = "~= 2.8"
cjwmodule = "~=3.1"
pandas = "~= 1.0"
[tool.poetry.dev-dependencies]
pytest = "~=6.0"
[tool.isort]
# Black compatibility
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
skipsdist = True
envlist = py38-{pyflakes,black,isort,pytest}
[flake8]
exclude = venv/*,tox/*,specs/*,build/*
ignore = E123,E128,E266,E402,W503,E731,W601
max-line-length = 88
[testenv]
deps =
pyflakes: pyflakes>=2.2
black: black
isort: isort
commands =
pyflakes: pyflakes linechart.py tests
black: black --check linechart.py tests
isort: isort --check --diff linechart.py tests
[testenv:py38-pytest]
deps =
pytest~=6.0
commands =
pip install -q .
pytest -v
"""