Commit Graph
2755 Commits
Author SHA1 Message Date
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
A_D bfe114ba10 Removed extranious parens 2021-04-01 14:45:46 +01:00
A_D a68468d7ce Updated wording in plugins docs 2021-04-01 14:45:46 +01:00
A_D 278480b99f replaced ors with defaults in config usage 2021-04-01 14:45:46 +01:00
A_D f76e5d331e Removed cast calls 2021-04-01 14:45:46 +01:00
A_D dc793e62c4 Updated plugin docs with new config info 2021-04-01 14:45:46 +01:00
Athanasius fd51ee5d05 Updated EDMarketConnector.py to new config
# Conflicts:
#	EDMarketConnector.py
2021-04-01 14:45:46 +01:00
Athanasius 25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
A_D a9c705c0cf Removed Optionals from method definitions
It makes typing far easier
2021-04-01 14:45:46 +01:00
A_D 8a81caeb8b Ensured that we save and reload the config 2021-04-01 14:45:46 +01:00
A_D 7135c3be9c Missing newline 2021-04-01 14:45:46 +01:00
A_D 18f4e49406 Final type annotations 2021-04-01 14:45:46 +01:00
A_D e84373822c Finished docstrings 2021-04-01 14:45:46 +01:00
A_D 640bda0d0e Disabled mypy in old_config 2021-04-01 14:45:46 +01:00
A_D 9fd1da1819 Added space workaround to test_list 2021-04-01 14:45:46 +01:00
A_D f8bc7290fe Made sure we dont test with big ints on windows 2021-04-01 14:45:46 +01:00
A_D a85a3d356a Added warning on windows for large ints 2021-04-01 14:45:46 +01:00
A_D 2de8967424 Delete keys only once unless on linux 2021-04-01 14:45:46 +01:00
A_D 0ca9e81eca Final fixups for WinConfig
Added delete method
Fixed missing sub_key arg to CreateKeyEx
2021-04-01 14:45:45 +01:00
A_D dcd142af15 Added configuration for tests 2021-04-01 14:45:45 +01:00
A_D 9c3de53a3b Added config tests 2021-04-01 14:45:45 +01:00
A_D c72c1be4da Added testing libraries 2021-04-01 14:45:45 +01:00
A_D bb431b83c1 Added bool support to MacConfig 2021-04-01 14:45:45 +01:00
A_D 9e1bb0a2a2 Added bool support to WinConfig 2021-04-01 14:45:45 +01:00