869 Commits

Author SHA1 Message Date
Athanasius
2d896ce37f DuplicateMessages: Refactor isDuplicated() name to snake_case 2022-03-12 10:59:55 +00:00
Athanasius
fb67f960be DuplicateMessages: Very initial flake8 pass 2022-03-12 10:59:55 +00:00
Athanasius
c99d572adc Use that bottle Plugin.apply() signature throughout 2022-03-12 10:59:55 +00:00
Athanasius
a14b32631c .flake8: Comment out min-coverage-percents
I figured out the bottle Plugin.apply() thing.

Leaving as a comment for reference.
2022-03-12 10:59:55 +00:00
Athanasius
031e4c9a70 Bouncer: Trying out 'Callable' for bottle plugin.apply() type annotation 2022-03-12 10:59:55 +00:00
Athanasius
86313dba28 Bouncer: Full flake8 and mypy pass 2022-03-12 10:59:52 +00:00
Athanasius
52316d4b62 .flake8: Drop the type annotations minimum to 50%
Mostly I'm having trouble finding what else I *could* add types to in
Bouncer.py.  I think it's the bottle plugin classes' (EnableCors and
CustomLogging) functions.
2022-03-12 10:58:45 +00:00
Athanasius
e5fe4da978 Settings.loadConfig() got renamed to load_config() 2022-03-12 10:58:42 +00:00
Athanasius
be6fe8b419 Settings: flake8 and mypy passes
Yes, we want to keep the extra-spaces formatting, but that means
noqa'ing E221.
2022-03-12 10:56:39 +00:00
Athanasius
03c7f6c96b Version: Bump to 2.0-alph0 for this python3 work 2022-03-12 10:55:00 +00:00
Athanasius
b876fec22c Relay: Full flake8/mypy pass 2022-03-12 10:54:57 +00:00
Athanasius
1c245735fd Monitor: Make EnableCors.apply() static 2022-03-12 10:52:25 +00:00
Athanasius
0400854390 Monitor: types pass 2022-03-12 10:52:22 +00:00
Athanasius
c0af9b1a97 Monitor: docstring'd 2022-03-12 10:51:56 +00:00
Athanasius
5cb2dbed92 Monitor: Initial flake8 pass 2022-03-12 10:51:17 +00:00
Athanasius
fee5279c12 Gateway: Make the CORS apply() static
Quietens a PyCharm warning
2022-03-12 10:49:53 +00:00
Athanasius
dcce3bdc86 Gateway: Minor renames to make PyCharm not gripe
These are related to local variables shadowing globals.
2022-03-12 10:49:53 +00:00
Athanasius
18d4f13139 Gateway: typing: main() 2022-03-12 10:49:53 +00:00
Athanasius
db7dcb489f Gateway: typing: stats() 2022-03-12 10:49:53 +00:00
Athanasius
820abea797 Gateway: typing: health_check() 2022-03-12 10:49:53 +00:00
Athanasius
d0f2d6a5bc Gateway: typing: upload() 2022-03-12 10:49:51 +00:00
Athanasius
d327dea943 Gateway: typing: parse_and_error_handle() 2022-03-12 10:49:10 +00:00
Athanasius
2e64ac2e9b Gateway: typing: get_decompressed_message() 2022-03-12 10:49:10 +00:00
Athanasius
2a2017ed51 Gateway: Start adding types/checking 2022-03-12 10:49:08 +00:00
Athanasius
a41650865b requirements-dev: types-pkg_resources 2022-03-12 10:47:34 +00:00
Athanasius
08897785b9 requirements-dev: types-simplejson 2022-03-12 10:47:33 +00:00
Athanasius
e3b4148eba Gateway: parse_qs is in urllib.parse now 2022-03-12 10:47:33 +00:00
Athanasius
daa1ae0ac1 Gateway: misc formatting pass 2022-03-12 10:47:33 +00:00
Athanasius
14a857a416 Gateway: % -> f-string pass 2022-03-12 10:47:31 +00:00
Athanasius
b0a5122b8c Gateway: docstring pass 2022-03-12 10:42:48 +00:00
Athanasius
96975df9fa Gateway: snake_case variables 2022-03-12 10:41:58 +00:00
Athanasius
22a5aa8db0 Gateway: More import fixup 2022-03-12 10:40:05 +00:00
Athanasius
46dec75082 Gateway: Remove un-used bottle imports 2022-03-12 10:39:27 +00:00
Athanasius
9b7d531641 monitor/eddn.js: PyCharm code cleanup 2022-03-12 10:38:49 +00:00
Athanasius
3f4ce7786b Gateway: Proper import order 2022-03-12 10:38:38 +00:00
Athanasius
0182980136 Gateway: Better top-level docstring 2022-03-12 10:34:50 +00:00
Athanasius
ccee6f8b63 .pre-commit: No need for LANG section 2022-03-12 10:34:50 +00:00
Athanasius
1176f967d9 requirements: Updated for python 3.9.7 2022-03-12 10:34:50 +00:00
Athanasius
3fd062a5fb Initial setup for proper development with linting etc 2022-03-12 10:34:50 +00:00
Athanasius
26dac58ceb eddn-report-log-errors: Some EDD 15.0.0.0 reported issues 2022-03-12 08:32:57 +00:00
Athanasius
1d15c546a8 scripts/eddn-report: Add Moonlight/1.3.4/Scan case 2022-02-27 18:58:32 +00:00
Athanasius
7b3dc68ad4 Merge branch 'develop' of github.com:EDCD/EDDN into develop 2022-02-27 18:37:02 +00:00
Athanasius
78c71ce3ee
Merge pull request #183 from jcjveraa/develop
Add a very simple Java subscription example with JeroMQ 0.52
2022-02-27 18:29:30 +00:00
JelleV
aeeab4f4d2 Update SimpleJavaEDDNSubscribe.java 2022-02-27 17:42:59 +01:00
JelleV
47091574a3 A simple Java subscribe example with jermq 2022-02-27 17:41:35 +01:00
Athanasius
6607e3eb45 scripts/eddn-report-log-errors: EDSM/1.0.3: Materials as dict 2022-02-22 15:43:59 +00:00
Athanasius
2b141bf8ac scripts/eddn-report-log-errors: New 'EDSM'/1.0.3/journal/Scan error
* Also corrects the conditionals to both skip this and always log
  anything else.
2022-02-21 10:15:53 +00:00
Athanasius
a93c342550 scripts/eddn-report-log-errors: Ensure only 'known' things aren't printed
* Bump EDMC version to 5.3.0
* Use matching *for* known things and `pass`, and ensure there's an
  "else print" everywhere to catch unknown things.
2022-02-20 10:55:42 +00:00
Athanasius
b38659a6f8 Merge branch 'develop' of github.com:EDCD/EDDN into develop 2022-02-20 08:30:56 +00:00
Athanasius
dfead5b2ab scripts/eddn-report-log-errors: Don't print for 'old' G19s Companion 2022-02-20 08:30:05 +00:00