Mojib Wali
0a0ae05331
global(module): refactor tests and ci
...
modified run-test.sh to newer invenio-pytest commands- which will now also run the tests written /test directory.
* removed docker-service-cli version restriction
* bump Sphinx version
*added missing imports (tests)
2020-12-21 15:28:06 +01:00
Mojib Wali
204f7b81c3
test: adding tests
...
* test: removed no cover
* tests: adding tests for functions.
* test_make_dict_like
* test_cast_to_dict
2020-12-10 12:25:52 +01:00
Christoph Ladurner
95f566d48d
all python files are now formated with black ( #106 )
...
* all python files are now formated with black
NOTE:
some configurations where necessary. flake8 line-length has to be set to 88
which is the default for black. but this was not enough some lines of black
where formated longer then 88 characters. found flake8-bugbear with B950.
with that and in combination with ignore=E501 it is possible to ignore long
lines, but if there are lines to long it will still point it out.
further also for isort some configuration was necessary
REFERENCES:
https://github.com/psf/black/blob/master/docs/compatible_configs.md#isort
https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8
https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
* removed commented import statments
Co-authored-by: Christoph Ladurner <christoph.ladurner@tugraz.at >
2020-10-14 14:10:05 +02:00
Mojib Wali
f9993369f2
global: extension class to uppercase. ( #105 )
...
The extension class name is changed to uppercase.
2020-10-12 09:42:12 +02:00
mb
46faf1a7a5
adjustment to module
...
isort fixed this closes #53
2020-07-21 08:29:54 +02:00
Mojib
47fd19c571
frontpage draft
...
views.py is rendering index.html which is / endpoint, which is the frontpage. config.py is disabling the default frontpage from invenio-app-rdm.
2020-07-13 13:16:00 +02:00
mb
1e9f31c493
conftests
...
updated the tests and added invenio-i18 module as install_requires
2020-06-25 11:00:34 +02:00
mb
7099b80486
init
2020-05-01 17:42:37 +02:00