mprahl
66c3f82160
Format the coding style across the codebase using "black" and manual tweaks
...
The main benefit of this commit is that the use of double quotes
is now consistent.
2019-04-26 00:32:13 -04:00
mprahl
0044b3f34b
Whitelist py.test-3 in tox
2019-04-03 15:33:16 -04:00
mprahl
d46ce667cf
Whitelist flake8 in tox
2019-04-03 15:24:20 -04:00
Filip Valder
14f1b582c9
Ignore some SQLAlchemy DeprecationWarnings
2019-03-12 22:00:53 +01:00
Chenxiong Qi
f9fda3f1c5
Add W504 to flake8 ignore list
...
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2018-10-25 16:31:55 +08:00
Chenxiong Qi
5ae0122b18
Move flake8 config into flake8 section in tox.ini
...
Sometimes, it would be convenient to run flake8 directly rather than
`tox -e flake8` and the flake8 section in tox.ini will apply to both of
them.
In addition, exclude ./.env as well.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2018-10-22 09:45:04 +08:00
mprahl
20d68628d2
Add a Dockerfile for running unit tests on CentOS
2018-04-03 09:58:57 -04:00
Jan Kaluza
e5e9a24fce
Allow adding bool to XMD. Fix flake8 issues.
2018-04-03 09:58:57 -04:00
Jan Kaluža
e7587cb77b
add MMDResolver to find possible combinations between modules
...
Using libsolv for solving part and libmodulemd for getting the data.
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com >
2018-04-03 09:58:57 -04:00
Yash Nanavati
ed25afd9ec
Code changes for Python 3 support
2018-03-04 03:22:38 -05:00
mprahl
d6fd203ac0
Disable tox envs that we don't use
2018-02-09 09:16:49 -05:00
mprahl
63e39232a4
Add "-v" to the pytest command when run in tox
2018-02-05 22:11:31 -05:00
mprahl
5795a5017a
Don't ignore the tox flake8 test
2018-02-05 22:11:31 -05:00
mprahl
bc4a612b38
Stop using site_packages when running tox
2018-01-08 08:59:14 -05:00
mprahl
fa44d53d8d
Make the pytest command verbose in tox.ini
2017-11-07 11:30:45 -05:00
Martin Curlej
60b3d97c97
flake8 cleanup
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
removed some noqa tags
2017-10-25 12:13:59 +02:00
mprahl
bd06a803d1
Set the max line length used by the project in tox.ini so flake8 doesn't complain
2017-10-16 14:38:42 -04:00
Filip Valder
7e3914e8b3
Remove parameterized
...
The reason is mentioned in PR#684:
"I've talked with @fivaldi to rewrite the test to not use parameterized,
since it is not in Fedora."
2017-09-15 13:31:48 +02:00
Filip Valder
3cb41aa5dc
Changes in MBS restful API:
...
- Refactor MBS API code
- Unify module-/component_build API philosophy/design/approach
- Naming fixes
- _utc_datetime_to_iso moved from ModuleBuildAPI and is now a module-level function.
- Existing v1 API remains unchanged. ComponentBuildAPI now supports individual component build listing + verbose mode.
- documented in README
- various component_build API tests added
2017-09-11 14:48:22 +02:00
Filip Valder
83abaa4f6c
tox fixes
2017-05-10 13:33:13 +02:00
Filip Valder
906bef4e6a
add posargs for passing additional args to py.test (e.g. run tests in specific file/dir only)
2017-04-07 10:36:50 +02:00
Filip Valder
41eaa2b001
include all other deps from test-requirements
2017-03-31 11:29:12 +02:00
Filip Valder
e6d80c0293
introduce tox & pytest as well as other stuff (flake8, bandit and prepare for future automated build&release steps)
2017-03-31 11:15:32 +02:00