Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
ckeditor
Commits
8aeb751387e0
Commit
ff1e05aa
authored
Oct 07, 2020
by
Katia Saurfelt
Browse files
feat(tox): add basic tox.ini
parent
82d49153454a
Changes
2
Hide whitespace changes
Inline
Side-by-side
MANIFEST.in
View file @
8aeb7513
include README.rst
include *.py
include */*.py
include *.ini
recursive-include cubicweb_ckeditor *.py
recursive-include cubicweb_ckeditor/data *.gif *.png *.ico *.css *.js
...
...
tox.ini
0 → 100644
View file @
8aeb7513
[tox]
envlist
=
py27, py3, flake8, check-manifest, safety
[testenv]
deps
=
git+https://github.com/psycojoker/pytest-capture-deprecatedwarnings
pytest
unittest2
commands
=
{envpython}
-m
pytest
{posargs:{toxinidir}/test}
[testenv:flake8]
basepython
=
python3
skip_install
=
true
deps
=
flake8
commands
=
{envpython} -m flake8 {toxinidir} {posargs}
[testenv:check-manifest]
skip_install
=
true
deps
=
check-manifest
commands
=
{envpython}
-m
check_manifest
{toxinidir}
[flake8]
basepython
=
python3
format
=
pylint
ignore
=
W503, E203, E731, E231
max-line-length
=
100
exclude
=
cubicweb_ckeditor/migration/*,docs/*,.tox/*,./test/data/*
[testenv:safety]
deps
=
safety
commands
=
safety
check
\ No newline at end of file
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