Commit 62937464 authored by Simon Chabot's avatar Simon Chabot
Browse files

ci: add a tox.ini and pyproject.toml (black) files

parent bdddd0f12f32
[tool.black]
target-version = ['py37']
line-length = 100
exclude = '''(
\(
dist
| sphinx
| \.tox
| \.hg
| \.eggs
| \.pytest_cache
\)
)'''
[tox]
envlist = flake8,black
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands = flake8
[testenv:black]
basepython = python3
skip_install = true
deps =
black
commands = black --check .
[flake8]
exclude = doc/*,.tox/*
max-line-length = 100
extend-ignore = E203, E731, E231
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment