1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

2778 Commits

Author SHA1 Message Date
A_D
0258d881ea Localised options 2021-04-01 14:45:47 +01:00
A_D
5235019d2a Added warning
Using transparency options on windows may cause unexpected behaviour
2021-04-01 14:45:47 +01:00
A_D
ed7d79c2f7 Added UI transparency option 2021-04-01 14:45:47 +01:00
A_D
281f66c7c1 Stringified plugin_dir for len check 2021-04-01 14:45:47 +01:00
A_D
965493ffed Silenced flake8 warning 2021-04-01 14:45:47 +01:00
A_D
2ff06c15ab Fix double quoted strings in workflow 2021-04-01 14:45:47 +01:00
Athanasius
b3b72a05a8 PLUGINS.md: Be explicit about why plugin_prefs(...) -> Optional[tk.Frame] 2021-04-01 14:45:47 +01:00
Athanasius
92d9185b43 EDMCLogging: Revert to Python 3.8+ walrus operator
* Re-order an import to make isort happy
* Mark caller_attributes() as ignoring C901 as well

# Conflicts:
#	EDMCLogging.py
2021-04-01 14:45:47 +01:00
Athanasius
903ec3d558 Added mention of deprecated methods
# Conflicts:
#	PLUGINS.md
2021-04-01 14:45:47 +01:00
A_D
6da85dc1e9 Fixed creating en.template.new as a dir 2021-04-01 14:45:47 +01:00
A_D
dbc357ebcd Dont overwrite template files when generating new ones 2021-04-01 14:45:47 +01:00
A_D
54c8558d35 Added comment to EDMarketConnectory.py
Covers the locale magic in l10n.py
2021-04-01 14:45:47 +01:00
A_D
db06bc82af Resolved PR comments 2021-04-01 14:45:47 +01:00
A_D
1a563653da Missed a place to use pathlib.Path() 2021-04-01 14:45:47 +01:00
A_D
63dd6418b9 removed unicode strings 2021-04-01 14:45:47 +01:00
A_D
7a7b5821df refactored trinary logic 2021-04-01 14:45:47 +01:00
A_D
b5282fc8ea Deprecated camelCase methods
Python prefers snake_case methods and camelCase classes. This replaces
some camelCase methods with snake_case variants, and has the original
names raise a DeprecationWarning before calling the snake_case versions
2021-04-01 14:45:47 +01:00
A_D
ac7a1fa63e Replaced codecs.open with builtin open
In py2, open() did not support encodings, in py3 it does
2021-04-01 14:45:47 +01:00
A_D
6687dcbfef Made respath use pathlib paths 2021-04-01 14:45:47 +01:00
A_D
e44039cfdd Replaced prints with logging 2021-04-01 14:45:47 +01:00
A_D
4ede555c13 Refactored return based logic
A good chunk of the logic in here was returning from branches but still
using else/elif/except branches to do an alternate behaviour.
2021-04-01 14:45:47 +01:00
A_D
553082c1fe Fixed some static type issues 2021-04-01 14:45:47 +01:00
A_D
13184a49b2 Added type annotations 2021-04-01 14:45:47 +01:00
A_D
07735bbff9 Renamed Translations and Locale
Previously at the end of l10n.py, the classes Translation and Locale
were overwritten with singleton instances of their types. This is both
bad practice and makes type checkers want to stab people. This change
should not affect any external code as the names they got for
Translations and Locale were the instances anyway.
2021-04-01 14:45:47 +01:00
A_D
7a0339a256 Added docstrings 2021-04-01 14:45:47 +01:00
A_D
d9f91cf9dc Added whitespace around scope changes 2021-04-01 14:45:47 +01:00
A_D
20eee4c6c1 Cleaned up multiline statement 2021-04-01 14:45:47 +01:00
A_D
08bba395a9 Removed star import 2021-04-01 14:45:47 +01:00
A_D
7716cbd861 Removed bare excepts 2021-04-01 14:45:47 +01:00
A_D
3ba8be5bf7 Removed unneeded list comprehensions 2021-04-01 14:45:46 +01:00
A_D
8cee778a1b Removed modulo formatters 2021-04-01 14:45:46 +01:00
A_D
5ca2e06136 Fixed overlong lines 2021-04-01 14:45:46 +01:00
A_D
b80c51bf78 auto-formatted code 2021-04-01 14:45:46 +01:00
dependabot[bot]
42834e583c Bump safety from 1.10.0 to 1.10.1
Bumps [safety](https://github.com/pyupio/safety) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/pyupio/safety/releases)
- [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst)
- [Commits](https://github.com/pyupio/safety/compare/1.10.0...1.10.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:46 +01:00
A_D
374d96e767 Fixed unquoted LoggerMixin cast 2021-04-01 14:45:46 +01:00
dependabot[bot]
e7ece1ea52 Bump isort from 5.6.4 to 5.7.0
Bumps [isort](https://github.com/pycqa/isort) from 5.6.4 to 5.7.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.6.4...5.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:46 +01:00
dependabot[bot]
09b9404307 Bump coverage[toml] from 5.3 to 5.3.1
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 5.3 to 5.3.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.3...coverage-5.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:46 +01:00
dependabot[bot]
47353cca38 Bump pytest from 6.1.2 to 6.2.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.2 to 6.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.2...6.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:46 +01:00
A_D
1e56f0046e Empty journal dir workaround 2021-04-01 14:45:46 +01:00
A_D
e3def21683 Made sure to handle an empty journal dir in the config 2021-04-01 14:45:46 +01:00
A_D
1b7ad1f7e9 un-optionaled config.default_journal_dir 2021-04-01 14:45:46 +01:00
A_D
48427a770d Updated monitor to support '' configured journal dir 2021-04-01 14:45:46 +01:00
A_D
d95db448e8 Fixed getint not passing default arg 2021-04-01 14:45:46 +01:00
A_D
59c14e6046 Suppressed exceptions in EDMarketConnector.py 2021-04-01 14:45:46 +01:00
A_D
87df8d8ab8 suppressed exceptions in migration code 2021-04-01 14:45:46 +01:00
A_D
a6f3d4a382 Added optional exception handler 2021-04-01 14:45:46 +01:00
A_D
42a0c058ea Fixed bool usage 2021-04-01 14:45:46 +01:00
A_D
fad193eff1 Added clarifying comment 2021-04-01 14:45:46 +01:00
A_D
e50c1ec936 Defaults on get_ functions now require kwargs 2021-04-01 14:45:46 +01:00
A_D
a1576e9979 Fixed missing default keyword arg 2021-04-01 14:45:46 +01:00