1
0
Fork 0
forked from s3lph/matemat
Commit graph

179 commits

Author SHA1 Message Date
s3lph
8eda31cbbe Renamed DatabaseFacade to MatematDatabase and added additional documentation. 2018-06-06 13:54:36 +02:00
s3lph
8b98d5383d Added mypy_cache to gitignore. 2018-06-06 13:47:12 +02:00
s3lph
4d07d02c10 Merge branch 'master' into db-doc 2018-06-06 13:37:17 +02:00
s3lph
ac17423e69 Merge branch 'ci-codestyle' into 'master'
PEP8 Codestyle Validation & Type Checking CI Job

See merge request s3lph/matemat!3
2018-06-06 11:33:24 +00:00
s3lph
5b231a0d40 Temporarily disabled mypy, as it doesn't seem to work properly on some occasions:
- native libs (apsw, ...)
- some Union types
- unittest.TestCase.assertRaises with custom exceptions
2018-06-06 13:24:36 +02:00
s3lph
63265e645a Put max-line-length of 120 in pycodestyle config, rather than completely disabling E501. 2018-06-06 13:03:30 +02:00
s3lph
33888fe597 Added lots of missing type annotations. 2018-06-06 12:59:49 +02:00
s3lph
edaf9afc8b Removed an unneeded newline that caused the pycodestyle job to fail. 2018-06-05 22:54:30 +02:00
s3lph
6870ef8f4a pycodestyle: ignore check for lines that are to long, as a max length of 79 gets ugly really quick. 2018-06-05 22:48:31 +02:00
s3lph
4db168b750 Split CI pipeline into 2 stages, added mypy check. 2018-06-05 22:38:42 +02:00
s3lph
82eb4f37f1 Added a codestyle CI job to check for PEP8 compliance. 2018-06-05 22:32:09 +02:00
s3lph
0eb1161d7a Added lots of documentation to the Database Facade. 2018-06-05 22:18:10 +02:00
s3lph
8059765410 Merge branch 'db-tests' into 'master'
Additional unit tests for the Database Facade

See merge request s3lph/matemat!1
2018-06-05 17:34:00 +00:00
s3lph
01b0b95652 Added lots of unit tests for the database facade, and already fixed some bugs. 2018-06-05 19:14:35 +02:00
s3lph
c238e8e9c8 test_facade: Added a login test case 2018-05-30 02:09:32 +02:00
s3lph
411372cc21 Split database class into Facade (matemat database API) and Wrapper (internals). 2018-05-30 01:57:26 +02:00
s3lph
e94f8bd29d Merge branch 'ci' into master 2018-05-30 00:25:52 +02:00
s3lph
5c6f130163 Added coverage report and egg-info to gitignore 2018-05-29 23:59:02 +02:00
s3lph
85409a642f Fixed database tests after schema change. 2018-05-29 23:53:16 +02:00
s3lph
cedfcfc3d4 Changed GitLab CI from running setup.py test to -m unittest discover 2018-05-29 23:53:02 +02:00
s3lph
3794a570c8 Reworked Product to allow a 0 argument constructor, because unittest apparently breaks stuff... 2018-05-29 23:36:52 +02:00
s3lph
1439c3072c GitLab CI: Use buster instead of stretch. 2018-05-29 23:16:28 +02:00
s3lph
6127872bd6 GitLab CI: Use buster instead of stretch. 2018-05-29 23:12:10 +02:00
s3lph
fab2c701d5 GitLab CI: Use buster instead of stretch. 2018-05-29 23:01:05 +02:00
s3lph
516f7f08d9 GitLab CI: Added missing apt dependency. 2018-05-29 22:53:46 +02:00
s3lph
0f1a150653 GitLab CI: Added missing pip dependency. 2018-05-29 22:51:08 +02:00
s3lph
15bd9e9747 Fixed Docker image name in GitLab CI config. 2018-05-29 21:52:20 +02:00
s3lph
6fb55ddc2d GitLab CI 2018-05-29 21:49:40 +02:00
s3lph
c91f77702a Initial commit; database facade mostly implemented, but only partially tested 2018-05-29 21:43:38 +02:00