summaryrefslogtreecommitdiff
path: root/docs/developers.rst
Commit message (Collapse)AuthorAgeFilesLines
* Migrate from nosetest to pytestIwan Aucamp2021-10-241-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replace all uses of nose with pytest. It also includes a pytest plugin for creating EARL reports for tests with a `rdf_test_uri` parameter. Some caveats: - HTML report directory is now htmlcov instead of coverage - There is some warning related to the EARL reporting plugin which I can't quite figure out: ``` .venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676 /home/iwana/sw/d/github.com/iafork/rdflib/.venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: test.earl self.import_plugin(import_spec) ``` This is not causing any problems as far as I can tell, but still annoying. - python setup.py test won't work anymore, I can make it work but this is not advised by pytest: https://github.com/pytest-dev/pytest-runner/#deprecation-notice - run_test.py is still there but it's not really referenced anymore from anywhere and the options it accepts are completely different as it's options were based on nose. I would say it should be removed entirely but for now it is basically just a wrapper around pytest that basically does nothing. - Removed references to test attributes as currently they are not being used anywhere anyway, I guess we can add them back if there is some use for them later. - A lot of tests are still marked to skip when really they should be marked with xfail. This is also affecting the RDFT test manifests and result in reports saying tests are skipped when really we know they will fail and they are only skipped for this reason. But there is no change here from before, and pytest makes it easier to dynamically do expected failures. Special thanks to Wes Turner for his advice and inputs on this process.
* Update black to latest version, to avoid a bug that was in 21.6b0 and 21.7b0 ↵Ashley Sommer2021-10-111-1/+1
| | | | releases. (#1434)
* Fix mypy type errors and add mypy to .drone.ymlIwan Aucamp2021-09-101-2/+26
| | | | | | | | | | | | | | | | | | | | | Fixes #1311 Add `mypy` to .drone.yml and fix type errors that come up. Not type checking examples or tests. Other changes: - fix return value for `Graph.serialize` (refs #1394) - remove default value for `rdflib.plugins.sparql.algebra.translateAlgebra` (refs #1322) - add .dockerignore to reduce context size and make docker quicker to run. - add .flake8 config to ignore line length as black is managing formatting. - add mypy to docker-compose, makefile and tox.ini - fix the way csv2rdf is invoked to ensure that the right code gets executed.
* update docsNatanael Arndt2021-07-161-3/+1
|
* whitespace changesNatanael Arndt2021-07-161-1/+1
|
* fix docc build warningsNicholas Car2021-07-151-1/+1
|
* Initial python 3.7 requirement update, add new Drone tests, add black.toml ↵Ashley Sommer2021-07-081-3/+5
| | | | file, add .editorconfig file
* minor docco updatesNicholas Car2021-06-181-7/+11
|
* updated to support Python 3.6+ only (not 3.5)Nicholas Car2020-10-031-1/+1
|
* Fix minor typosNatanael Arndt2020-09-091-1/+1
|
* fix python version compatibilityFlorian Ludwig2020-09-081-1/+3
|
* replace autopep8 mention with blackFlorian Ludwig2020-09-081-1/+2
|
* 3.7 for travisGunnar Aastrand Grimnes2018-10-281-1/+1
|
* updated release howto, closes #478, #520Joern Hees2017-01-291-15/+16
|
* more cleanupGunnar Aastrand Grimnes2017-01-291-2/+1
| | | | pip instead of easy_install.
* more explanation for release processJoern Hees2015-02-191-9/+22
|
* documentation changesGunnar Aastrand Grimnes2013-12-301-15/+20
|
* pointer to update topic of #rdflib on releaseJörn Hees2013-06-201-0/+2
|
* doc updatesgromgull2013-05-161-0/+86