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
Philipp Hörist
50e44543f3
Fix len-as-condition pylint error
2018-09-16 01:19:09 +02:00
Philipp Hörist
8d9fe9e2e1
Update pylint error list
...
Check for C1801 len-as-condition
2018-09-16 01:12:10 +02:00
Philipp Hörist
49ca238252
Fix len-as-condition pylint errors
2018-09-16 01:10:04 +02:00
Philipp Hörist
f7a139eac2
Zeroconf: Store time of outgoing messages
2018-09-15 12:00:32 +02:00
Philipp Hörist
97ee8082fe
HistoryManager: Load css config in standalone
2018-09-15 11:44:09 +02:00
Philipp Hörist
eca69e399b
Fix Windows build
...
- Downgrade to glib2 2.56.2 because higher is broken on Windows 7
- Dont abort build if depchecker fails on some files
2018-09-15 02:01:40 +02:00
Philipp Hörist
3b5b4574ba
Update .gitignore
2018-09-14 23:35:38 +02:00
Philipp Hörist
64840cd0b0
Update win/dev_env.sh
2018-09-14 23:17:16 +02:00
Philipp Hörist
d54d4bc232
Add annotations and fix pylint/mypy errors
2018-09-13 23:56:12 +02:00
Philipp Hörist
a62f348a21
Add stubs file for emoji_data
...
Otherwise mypy hangs because the file is to big
2018-09-13 23:54:29 +02:00
Philipp Hörist
58a3b83083
Update mypy.ini
2018-09-13 19:59:03 +02:00
Philipp Hörist
62c54525d8
fuzzyclock: Fix pylint errors
2018-09-13 00:33:54 +02:00
Philipp Hörist
64aec8adce
Add annotations
2018-09-12 21:08:37 +02:00
Philipp Hörist
ee254d25d2
Fix pylint errors
2018-09-12 21:08:37 +02:00
Yann Leboulanger
6b221e7059
fix running pylint
2018-09-12 08:42:23 +02:00
Philipp Hörist
b99632ab03
Fix pylint errors
2018-09-12 00:01:54 +02:00
Philipp Hörist
691678b06a
Update pylintrc
2018-09-11 23:49:59 +02:00
Philipp Hörist
c9455de4bd
Add mypy test to CI
2018-09-11 22:46:57 +02:00
Philipp Hörist
09c5183575
Fix pylint errors in common/modules
2018-09-11 22:25:55 +02:00
Philipp Hörist
3080946ea1
Update pylintrc
2018-09-11 22:24:08 +02:00
Philipp Hörist
4ad38d5398
Make some vars private
2018-09-11 20:00:34 +02:00
Philipp Hörist
dad7def794
Catch error if no translation is found
2018-09-11 19:37:48 +02:00
Philipp Hörist
a34bf54c46
Fix mypy error regarding _()
2018-09-11 19:29:08 +02:00
Philipp Hörist
21672fadee
Refactor i18n
...
- Make _() available, so other modules can import it from i18n, we need
this because mypy cant handle _() in the builtins namespace
2018-09-11 19:27:10 +02:00
Philipp Hörist
2649b3d01e
Add annotations to modules/util.py
2018-09-11 00:47:59 +02:00
Philipp Hörist
ca9b4cb596
Add annotations for modules/__init__.py
2018-09-11 00:47:54 +02:00
Philipp Hörist
bcf2a3770d
Remove unnecessary code
...
NetworkIncomingEvent defines base_network_events and generate() already
2018-09-11 00:37:00 +02:00
Philipp Hörist
7140c2d2a1
Add mypy.ini
2018-09-11 00:36:54 +02:00