-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (48 loc) · 1.2 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "splittimestamp"
version = "0.0.1"
description = "Workbench module to extract date and time-of-day from timestamps"
authors = ["Adam Hooper <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "~=3.8.0"
cjwmodule = "~=4.1"
pyarrow = "~=4.0"
[tool.poetry.dev-dependencies]
pytest = "~=6.0"
pytest-cov = "~= 2.10"
[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
pytest: poetry
commands_pre =
pytest: poetry install -v
commands =
pyflakes: pyflakes splittimestamp.py tests
black: black --check splittimestamp.py tests
isort: isort --check --diff splittimestamp.py tests
pytest: poetry run pytest --cov=splittimestamp --cov-report term-missing -v
"""