Tobias Gruetzmacher
bcc7f83ef8
Create Allure test reports
2020-11-23 00:30:06 +01:00
Tobias Gruetzmacher
848f051a89
Test on Python 3.9
2020-10-31 11:49:16 +01:00
Tobias Gruetzmacher
e64635e86b
Stricter style checking & related style fixes
2020-10-11 20:15:27 +02:00
Tobias Gruetzmacher
65fa1f71e5
Move flake8 plugins to development dependencies
...
This makes it easier for developers to run flake8 in their development
virtualenv.
2020-09-27 18:49:46 +02:00
Tobias Gruetzmacher
27d28b8eef
Update file headers
...
The default encoding for source files is UTF-8 since Python 3, so we can
drop all encoding headers. While we are at it, just replace them with
SPDX headers.
2020-04-18 13:45:44 +02:00
Tobias Gruetzmacher
e70bf8c7ad
Small style fixes (mostly in tests)
2020-04-18 13:03:02 +02:00
Tobias Gruetzmacher
c6cd914c5c
Drop Python 2 support: Build & testing
2020-02-02 23:47:19 +01:00
Tobias Gruetzmacher
6e14e8709b
Reduce allowed line length
2020-01-13 00:36:46 +01:00
Tobias Gruetzmacher
c48d96d5e3
Use imagesize instead of Pillow to get image sizes
2020-01-04 15:59:49 +01:00
Tobias Gruetzmacher
e7084943cd
Some minor fixes for CodeClimate
2019-12-31 18:25:04 +01:00
Tobias Gruetzmacher
e1f712d194
pytest: Use xunit2 format for XML output
...
This will be the default in pytest 6 - switch now to make sure Jenkins
can handle it.
2019-12-29 02:29:22 +01:00
Tobias Gruetzmacher
233328d495
Test with Python 3.8 (and drop support for 3.4)
2019-10-28 16:00:38 +01:00
Tobias Gruetzmacher
131d530d1a
Jenkins: Update to warnings-ng
2019-07-14 13:50:54 +02:00
Tobias Gruetzmacher
a7b6393d6f
Ignore flake8 warning W504
...
Actually, I prefer binary operators at the end of the line and this
seems to be the current state of the whole code base, so it's kinda
stupid to complain about them ;)
2019-06-30 19:50:28 +02:00
Tobias Gruetzmacher
3a26737b03
Fix coverage collection in tox
2019-01-04 01:04:28 +01:00
Tobias Gruetzmacher
855e4d0614
Remove pytest-xdist in CI builds
...
It doesn't speed up tests that much and seems to conflict with coverage
in Python 3.7
2019-01-04 00:30:31 +01:00
Tobias Gruetzmacher
df18acf135
Add CI build for Python 3.7
2019-01-04 00:04:04 +01:00
Tobias Gruetzmacher
6ba1e49bfd
Kenneth Reitz’s Code Style™
...
See http://docs.python-requests.org/en/master/dev/contributing/#kenneth-reitz-s-code-style
Effectively, this removes "visual" indents.
2018-06-29 19:26:17 +02:00
Tobias Gruetzmacher
fbb3a18c91
Enable warnings and fix some of them
2018-05-23 00:54:40 +02:00
Tobias Gruetzmacher
c3dafff1da
Don't span more than 4 threads (because Travis-CI ;))
2017-12-19 23:08:35 +01:00
Tobias Gruetzmacher
a7dbd4ab39
Enable branch coverage (and newer tox features).
2017-12-19 22:51:50 +01:00
Tobias Gruetzmacher
84f6981d51
Supported Python versions: 2.7, 3.4, 3.5, 3.6
2017-12-14 22:49:31 +01:00
Tobias Gruetzmacher
a9fedf6a30
Switch from Coveralls to CodeCov.
2017-11-28 01:46:44 +01:00
Tobias Gruetzmacher
69e6144843
Don't include cmd script in coverage.
2017-10-15 14:54:44 +02:00
Tobias Gruetzmacher
25f1b65315
Move test dependencies into setup.cfg.
2017-10-12 23:25:37 +02:00
Tobias Gruetzmacher
def2a2cf62
Python 3.6 was released, test it.
2017-01-12 01:38:59 +01:00
Tobias Gruetzmacher
bb6199af65
[tox] Move flake8 into its own environment.
2016-10-13 15:05:44 +02:00
Tobias Gruetzmacher
32e3f987d4
[tox] Don't add requirement.txt to deps.
2016-10-13 14:25:57 +02:00
Tobias Gruetzmacher
24345fd348
Create XML coverage report (for Jenkins).
2016-10-01 01:29:05 +02:00
Tobias Gruetzmacher
0637d20ec3
Fix flake8 excludes.
2016-09-29 01:44:06 +02:00
Tobias Gruetzmacher
ed1094b680
Set minimum Python version to 2.7.
...
This suppresses some useless warnings from newer versions of
flake8-future-import.
2016-06-04 22:41:00 +02:00
Tobias Gruetzmacher
27e1861001
Tox: Check __future__ imports in flake8 run.
2016-04-16 23:24:07 +02:00
Tobias Gruetzmacher
a3a7c7f688
Tox: Pass {posargs} to py.test.
2016-04-16 22:57:45 +02:00
Tobias Gruetzmacher
35b9800da7
Tox: Always generate JUnit XML, run flake8.
2016-04-16 16:59:04 +02:00
Tobias Gruetzmacher
e3628ee751
Install all dependencies in tox (& flake8 rules).
2016-04-10 03:47:01 +02:00
Tobias Gruetzmacher
3ffe9f5715
Cache pip downloads on Travis.
2016-03-20 20:32:08 +01:00
Tobias Gruetzmacher
56e05380ba
Move pytest-travis-fold to the right place.
2016-03-20 19:55:34 +01:00
Tobias Gruetzmacher
1ff4902344
Use tox for testing.
2016-03-20 19:43:48 +01:00