Commit Graph

16032 Commits

Author SHA1 Message Date
Philipp Hörist 8fad65ccbf Update pylint error list
- Check for C0113 unneeded-not
- Check for C0123 unidiomatic-typecheck
- Check for C0203 bad-mcs-method-argument
- Check for C0200 consider-using-enumerate
- Check for C0305 trailing-newlines
- Check for E0213 no-self-argument
2018-09-18 15:57:34 +02:00
Philipp Hörist 13a88533da Fix pylint errors
- bad-mcs-method-argument
- trailing-newlines
- no-self-argument
2018-09-18 15:45:39 +02:00
Philipp Hörist 1680c3bb38 Fix pylint errors
- consider-using-enumerate
- unneeded-not
- unidiomatic-typecheck
2018-09-18 15:24:40 +02:00
Philipp Hörist 251dbae5d6 Update pylint error list
Specify from now on the errors that are disabled instead of enabled,
because we have now more checks enabled than disabled
2018-09-18 14:46:35 +02:00
Philipp Hörist 2512c2b484 Update pylint error list
- Check for R1714 consider-using-in
- Check for W0107 unnecessary-pass
- Check for W0235 useless-super-delegation
2018-09-18 14:14:26 +02:00
Philipp Hörist 55aab55b9b Fix consider-using-in pylint errors 2018-09-18 14:10:38 +02:00
Philipp Hörist a77804f475 Fix useless-super-delegation pylint errors 2018-09-18 14:06:16 +02:00
Philipp Hörist 8483ba503f Fix unnecessary-pass pylint errors 2018-09-18 14:03:58 +02:00
Philipp Hörist 376fff7871 Update pylint error list
- Check for W0622 redefined-builtin
- Check for C0303 trailing-whitespace
- Check for C0326 bad-whitespace
2018-09-18 14:00:50 +02:00
Philipp Hörist df88cc5e15 Fix redefined-builtin pylint errors 2018-09-18 13:54:25 +02:00
Philipp Hörist 29647ea693 Fix trailing-whitespace pylint errors 2018-09-18 13:38:22 +02:00
Philipp Hörist ccc06a04ab Fix bad-whitespace pylint errors 2018-09-18 12:06:01 +02:00
Philipp Hörist 2acfcfd9f9 Update pylint error list
- Check for C0121 singleton-comparison
- Check for C0321 multiple-statements
2018-09-18 10:33:31 +02:00
Philipp Hörist dea1464832 Fix multiple-statements pylint errors 2018-09-18 10:30:33 +02:00
Philipp Hörist 6237bfae41 Fix singleton-comparison pylint errors 2018-09-18 10:26:27 +02:00
Philipp Hörist 66c8c26bbc Update pylint error list
- Check for R1704 redefined-argument-from-local
- Check for R1705 no-else-return
2018-09-18 10:18:12 +02:00
Philipp Hörist ff6ca57033 Fix no-else-return pylint errors 2018-09-18 10:16:54 +02:00
Philipp Hörist d6f0242655 Fix redefined-argument-from-local pylint errors 2018-09-18 08:37:18 +02:00
Philipp Hörist cbe335b291 keys() doesnt return list() in python3 2018-09-18 07:20:49 +02:00
Philipp Hörist 206b87d7b7 Update pylint error list
Check for R1707 trailing-comma-tuple
2018-09-17 23:42:23 +02:00
Philipp Hörist 04b70bf220 Fix trailing-comma-tuple pylint errors 2018-09-17 23:38:52 +02:00
Philipp Hörist 67bb5a57c3 Update pylint error list
- Check for R0123 literal-comparison
- Check for R1703 simplifiable-if-statement
2018-09-17 23:26:52 +02:00
Philipp Hörist 01694c6a06 Fix simplifiable-if-statement pylint errors 2018-09-17 23:25:55 +02:00
Philipp Hörist 158d013a86 Fix literal-comparison pylint errors 2018-09-17 23:03:45 +02:00
Philipp Hörist 76333ec73a Use keys() iteration if we modify the dict 2018-09-17 22:51:42 +02:00
Philipp Hörist 55febc4963 Update pylint error list
Check for C0201 consider-iterating-dictionary
2018-09-17 22:35:39 +02:00
Philipp Hörist 793184e7be Fix consider-iterating-dictionary pylint errors 2018-09-17 22:34:15 +02:00
Philipp Hörist 0b8b4f75c3 Fix pylint errors 2018-09-17 22:20:19 +02:00
Philipp Hörist 71feb0b2d2 Update pylint error list
Check for W0612 unused-variable
2018-09-17 21:16:24 +02:00
Philipp Hörist e8ac644440 Fix unused-variable pylint errors 2018-09-17 21:16:19 +02:00
Philipp Hörist c6e2335bf0 Update pylint error list
Check for W1202 logging-format-interpolation
2018-09-17 19:15:51 +02:00
Philipp Hörist 7bdad5f4e2 Update pylint error list
Check for W1201 logging-not-lazy
2018-09-17 18:57:52 +02:00
Philipp Hörist d638087c26 Fix logging-not-lazy pylint errors 2018-09-17 18:57:00 +02:00
Philipp Hörist 9bab139bb5 Update pylint error list
Check for W0702 bare-except
2018-09-16 23:46:16 +02:00
Philipp Hörist 7bb6f8b22e Fix bare-except pylint errors 2018-09-16 23:45:01 +02:00
Philipp Hörist b8bbcf2be0 Fix missing time attribute
This was removed by accident
2018-09-16 23:33:09 +02:00
Philipp Hörist aaaa3bc9bd Update .pylintrc 2018-09-16 18:09:24 +02:00
Philipp Hörist f6144bff30 Update pylint error list
Check for W0621 redefined-outer-name
2018-09-16 18:04:21 +02:00
Philipp Hörist d53b95218a Fix redefined-outer-name pylint errors 2018-09-16 18:04:15 +02:00
Philipp Hörist adc94bdcc6 Update pylint error list
Check for C0325 superfluous-parens
2018-09-16 14:44:09 +02:00
Philipp Hörist c6547b6d30 Fix superfluous-parens pylint errors 2018-09-16 14:42:18 +02:00
Philipp Hörist 328d250f4c Fix evaluation for subject change 2018-09-16 14:36:54 +02:00
Philipp Hörist b4ac6db9b9 Update pre-push-tests.sh 2018-09-16 14:19:48 +02:00
Philipp Hörist d19ca8113a Add a pre-push script
Run this before every push to simulate the CI regarding mypy and pylint
2018-09-16 14:15:38 +02:00
Philipp Hörist 7018d5be0e Dont retract pep items on UserXEPs
This leads to multiple problems

1. We cant assume only items with id='current' are stored in the node
which would lead to retracting 'current' but another item would become
the last published and sent to users

2. Even if we have a SingletonNode retracting the only item means the Node
would be empty and offline clients would not receive the last published item
on coming online, because there is no item anymore

Instead we always publish an empty item from now on
2018-09-16 13:35:55 +02:00
Philipp Hörist e85bc52c8b Fix sending empty pep data 2018-09-16 12:58:37 +02:00
Philipp Hörist 1462f89229 Update pylint error list
Check for R0205 useless-object-inheritance
2018-09-16 11:57:36 +02:00
Philipp Hörist bb545d546a Fix useless-object-inheritance pylint errors 2018-09-16 11:56:56 +02:00
Philipp Hörist 9e51ed8c7f Update pylint error list
Check for W0611 unused-import
2018-09-16 11:38:50 +02:00
Philipp Hörist de0c0a9c08 Fix unsued-import pylint errors 2018-09-16 11:37:38 +02:00