Commit Graph

32 Commits

Author SHA1 Message Date
belono fe9c0573f8 Fix docs build 2022-12-11 18:41:05 +01:00
Patrick Kanzler 5bb0642b5d
housekeeping tasks (#464)
* update settings to use black

* update python versions

* enquote version numbers

* update dependency

* set explicit build command

* add newline

* add command to checkout

* add run step

* chain

* sudo

* test

* newer sphinx version

* update sphinx

* clean up setuptools usage

* use tox

* install tox

* tox
2021-10-30 22:21:34 +02:00
Patrick Kanzler f7962576b4 fix tox config 2020-05-11 23:44:10 +02:00
Romain Porte b0ea9aec41 barcodes: replace viivakoodi with python-barcode
python-barcode is yet another clone of the PyPI barcode library, but
which is still developped compared to viivakoodi.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2020-05-10 13:36:16 +02:00
Patrick Kanzler 7ea58625e6 use tox plugin for github 2020-05-09 01:08:16 +02:00
Patrick Kanzler 95ec6d5c08 update hypothesis 2020-05-09 00:39:41 +02:00
Patrick Kanzler 4836dcd486 change pytest call in tox 2020-05-09 00:27:58 +02:00
Patrick Kanzler c53575a155 update tox config 2020-05-09 00:02:28 +02:00
Patrick Kanzler 5ac5a24b50
Toolchain update travis drop py2x (#336)
* drop python 2 from supported languages

Python 2 compatibility will not be actively revoked, but will
not be worked on.

* update travis config

* remove flake8-test with Py2.7
2019-06-11 00:24:09 +02:00
Patrick Kanzler 0461adc212 restrict hypothesis-version to below 4 2019-06-04 22:30:23 +02:00
Patrick Kanzler f649814091
Fix travis-builds and tests in general (#295)
* add explicit location of capabilities.json for travis
* pass on env variables in tox builds
* drop support for python 3.3 and remove python3.3 from supported versions list
2018-05-14 18:06:31 +02:00
Patrick Kanzler a748563395
blacklist hypothesis version 2018-05-13 18:04:48 +02:00
Patrick Kanzler 01e28bbcf6
ammend blacklisting from cd1bcb57b4
the last comment was a bit rushed and did not properly blacklist both
bad versions of pytest
2017-12-03 23:49:46 +01:00
Patrick Kanzler 2a7e2a6a36
blacklist pytest 3.3.0
see pytest-dev/pytest#2957
2017-12-03 23:43:23 +01:00
Patrick Kanzler c259263f26 blacklist pytest 3.2.0 because it breaks our tests
see pytest-dev/pytest#2644 for reference
2017-08-04 15:17:05 +02:00
Patrick Kanzler 27c843935f add viivakoodi to dep in tox-file 2017-08-04 15:17:05 +02:00
Patrick Kanzler fc5ad1673c
add notice that we could add flake8-docstrings once 2017-01-30 02:44:26 +01:00
Patrick Kanzler 337e8ee19e
add flake8-checks to travis 2017-01-30 02:29:08 +01:00
Patrick Kanzler 43e30707be
add flake8 config 2017-01-30 01:36:07 +01:00
Patrick Kanzler a15d02b50c change dependency to docutils to newer version of sphinx
This is a revert to f8b7238801
2017-01-06 18:05:59 +01:00
Patrick Kanzler f8b7238801
downgrade docutils
version 0.13 of docutils seems to have problems. See
sphinx-doc/sphinx#3212
2016-12-09 21:24:57 +01:00
Patrick Kanzler 1b2f509758
use jaconv instead of jcconv for japanese chars
jaconv is available for more Python-versions and seems to be more
professional. Apart from that I added jaconv to the test-requirements
but not the requirements. (If the katakana-stuff really works we can
later add it as a real dependency)
2016-09-27 20:31:39 +02:00
Patrick Kanzler 915adf8fd3
fix file-printer-tests by using pytest-mock 2016-09-27 20:05:16 +02:00
Michael Elsdörfer 68c17f1181 Generate coverage reports. 2016-08-30 15:57:51 +02:00
Michael Elsdörfer 4496ea91bd Make pytest the test runner. 2016-08-30 13:17:41 +02:00
Patrick Kanzler a2e188cecf move pypy3 to the allowed failures and add hypothesis
pypy3 is not compatible with hypothesis, which is needed for testing
2016-08-02 00:10:39 +02:00
Patrick Kanzler 87438f9efa
SETUP move code to src
This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015

+ DOC adapt doc to new structure and test doc with travis
2016-06-20 17:48:14 +02:00
Davis Goglin 76f300ea18 Fix text argument 2016-03-28 14:51:48 -07:00
Patrick Kanzler 126e0e269a
ADD coverage analysis
* branch coverage
* visualization with codecov.io
* added codecov-badge to README
2016-03-22 12:07:21 +01:00
Michael Billington 8b454c4765 Clean up non-float value, add v3.5 to tox test 2016-03-17 21:59:47 +11:00
Patrick Kanzler 70307d0f24 FIX tox not executing nosetests 2016-03-08 20:07:16 +01:00
Patrick Kanzler 029549aaae IMPROVE packaging and testing
* uses now tox (currently with no tests) on python 2.7 and 3.4
* upgraded setup.py to setuptools
2015-12-30 16:58:28 +01:00