Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Chabot
hg-autochangelog
Commits
0f6ba468a118
Commit
62937464
authored
Apr 05, 2020
by
Simon Chabot
Browse files
ci: add a tox.ini and pyproject.toml (black) files
parent
bdddd0f12f32
Changes
2
Hide whitespace changes
Inline
Side-by-side
pyproject.toml
0 → 100644
View file @
0f6ba468
[tool.black]
target-version
=
['py37']
line-length
=
100
exclude
=
'''(
\(
dist
| sphinx
| \.tox
| \.hg
| \.eggs
| \.pytest_cache
\)
)'''
tox.ini
0 → 100644
View file @
0f6ba468
[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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment