Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/setup.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Switch to using openpyxl for parsing XLSX filesArthur de Jong12 days1-0/+1
| | | | | | The xlrd has dropped support for parsing XLSX files. We still use xlrd for update/be_banks.py because they use the classic XLS format and openpyxl does not support that format.
* Rename license_file option in setup.cfgArthur de Jong2023-08-201-1/+1
| | | | | | | It seems the old option wasn't working with all versions of setuptools anyway. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
* Ensure flake8 is run on all Python filesArthur de Jong2023-03-191-0/+4
| | | | This also fixes code style fixes in the Sphinx configuration file.
* Put long line flake8 ignores in files instead of globallyArthur de Jong2022-08-131-1/+0
| | | | | | | | We have some long URLs in the code (mostly in docstrings) and wrapping them does not improve readability (and is difficult in docstrings) so the E501 ignore is now put inside each file instead of globally. Closes https://github.com/arthurdejong/python-stdnum/pull/302
* Switch from nose to pytestArthur de Jong2022-07-041-12/+9
| | | | | | | Nose hasn't seen a release since 2015 and sadly doesn't work with Python 3.10. See https://github.com/nose-devs/nose/issues/1099
* Ignore flake8 complaining about print statementsArthur de Jong2022-05-091-1/+1
| | | | It seems that flake8 now uses T201 instead of T001 for this check.
* Flake 8 fixesArthur de Jong2020-04-191-0/+4
|
* Show missing lines in coverage reportArthur de Jong2019-08-031-0/+4
|
* Don't force "" strings to avoid escaping quotesArthur de Jong2019-04-291-0/+1
| | | | Fixes test failures with recent flake8-quotes.
* Switch from import-order to isortArthur de Jong2019-03-031-0/+4
|
* Make the multi-line operator place explicitArthur de Jong2018-11-111-0/+1
| | | | Recent versions of flake8 changed the defaults of the errors to ignore.
* Add Austrian postal codeArthur de Jong2018-03-171-1/+2
| | | | | This also fixes the name of the Dutch postal_code alias and tunes the tests.
* Support building a universal wheelArthur de Jong2018-03-111-0/+3
|
* Update the flake8 ignore listArthur de Jong2018-02-141-1/+7
| | | | | | | | | | | | Re-enable the flake8 test for unused imports by explicitly marking imports for namespace purposes. This allows us to remove a few unused imports. A few more cleanups that allow us to reduce the number of ignored flake8 ignored tests. The remaining ignored tests are now documented. Ignore a flake8 warning about print statements because we use print in the update scripts.
* Get files ready for 1.8 release1.8Arthur de Jong2018-01-031-0/+3
|
* Run flake8 from toxArthur de Jong2017-09-111-0/+5
|
* Ensure 100% branch coverageArthur de Jong2017-08-281-0/+1
| | | | | | | | | | | This ensures that the tests fail if 100% branch coverage is not achieved. It also adds some pragma statements for code that cannot be covered or is Python version dependent. Furthermore, the get_module_list() function was removed from stdnum.util and more tests were made from stdnum.util and stdnum.numdb. The functionality to call format() in a country-specific IBAN implementation was also dropped because it was not used.
* Ensure all Python files are in coverage reportArthur de Jong2017-08-241-0/+1
|
* Turn on and improve branch coverageArthur de Jong2015-08-161-0/+1
|
* Provide a module with validation exceptionsArthur de Jong2013-06-081-0/+1
| | | | | | | | | | This introduces a new module for switching the validation scheme. Instead of using the is_valid() function that returns a boolean a validate() function either returns the sanitised number or raises an exception that should indicate the kind of validation failure. This should make it easier for applications calling this library to present more informative messages to the user.
* generate documentation using SphinxArthur de Jong2012-02-241-0/+3
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@162 9dea7c4f-944c-4273-ac1a-574ede026edc
* switch to distutilsArthur de Jong2011-12-311-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@93 9dea7c4f-944c-4273-ac1a-574ede026edc
* write some more tests (some of which are a bit of a ↵Arthur de Jong2010-08-201-0/+1
| | | | | | hack) to get coverage to 100% git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@29 9dea7c4f-944c-4273-ac1a-574ede026edc
* add more doctests that are not part of the module ↵Arthur de Jong2010-08-141-0/+1
| | | | | | documentation git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@19 9dea7c4f-944c-4273-ac1a-574ede026edc
* use nose for testing and ignore generated files and ↵Arthur de Jong2010-07-251-0/+6
directories git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@9 9dea7c4f-944c-4273-ac1a-574ede026edc