1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 20:00:29 +03:00

2611 Commits

Author SHA1 Message Date
Athanasius
5b7876a22b pre-commit: Try local flake8 2021-04-01 14:45:43 +01:00
Athanasius
5d8e2a80af EDMarketConnector: noqa CCR001
Some of our code is just cognitively complex.
2021-04-01 14:45:43 +01:00
Athanasius
58787bc65e EDMarketConnector: Final type annotation fixups.
* Ignore Tkinter 'name' complaints.  I've opened
  <https://github.com/python/typeshed/issues/4658> to get this
  fixed in typeshed.
* If checking `import update` so it's available.
* Don't annotate journal_event 'event' arg, as it's passed through Tk
  events mechanism, so let mypy infer it.
2021-04-01 14:45:43 +01:00
Athanasius
aafc419124 EDMarketConnector: Initialise self.updater with type, but None value
This allows the type to be known, but leaves the proper setting of the
value until later (after UI creation).
2021-04-01 14:45:43 +01:00
Athanasius
a038b30855 EDMarketConnector: Remove call to deprecated config.getpassword() 2021-04-01 14:45:43 +01:00
Athanasius
55f1e11f0b EDMarketConnector: Correct __init__ master type & misc 2021-04-01 14:45:43 +01:00
Athanasius
97f3af2568 EDMarketConnector: Refactor of getandsend() and journal_event() 2021-04-01 14:45:43 +01:00
Athanasius
a4422c2065 pre-commit: Update config as per cleanup/config.py 2021-04-01 14:45:43 +01:00
Athanasius
da9e406e81 EDMarketConnector: Convert debug data dump to f-string & misc
* docstring indent on Class A.
* Minor white space adjustments.
2021-04-01 14:45:43 +01:00
Athanasius
8a3fa50c97 EDMarketConnector: Pass on docstrings & Misc.
* Removed a couple of E501 ignores tagged as now un-necessary.
2021-04-01 14:45:43 +01:00
dependabot[bot]
3e6998cfbe Bump mypy from 0.782 to 0.790
Bumps [mypy](https://github.com/python/mypy) from 0.782 to 0.790.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.782...v0.790)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:43 +01:00
dependabot[bot]
68406f82cf Bump isort from 5.6.1 to 5.6.3
Bumps [isort](https://github.com/pycqa/isort) from 5.6.1 to 5.6.3.
- [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.1...5.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:43 +01:00
Athanasius
6c9045ba13 setup.py: Convert to rf'' strings, no need to escape backslashes. 2021-04-01 14:45:43 +01:00
Athanasius
550ee394e3 setup.py: Convert one f-string to rf-string. 2021-04-01 14:45:43 +01:00
dependabot[bot]
5201777d9d Bump isort from 5.5.5 to 5.6.1
Bumps [isort](https://github.com/pycqa/isort) from 5.5.5 to 5.6.1.
- [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.5.5...5.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:43 +01:00
Athanasius
1297ba9c0d setup.py: typing cleanups
* I didn't go looking for darwin 'py2app' docs to find the possible
  return types of py2app.recipes['member']['check'], so 'Any' will have
  to do.

* re.search may return None, which then doesn't have .group(), so mypy
  complains.  Just tell it to ignore that code.
2021-04-01 14:45:43 +01:00
Athanasius
db40197f80 requirements-dev.txt: Add mypy and safety 2021-04-01 14:45:43 +01:00
Athanasius
7d4bef686c Releasing.md: Update to Windows SDK 19041 2021-04-01 14:45:43 +01:00
Athanasius
a8313e3661 setup.py: Reformat appcast style multi-line 2021-04-01 14:45:43 +01:00
Athanasius
a6779d7292 requirements: py2exe only on win32 platform 2021-04-01 14:45:43 +01:00
Athanasius
9b828fe9b2 requirements: Reference py2exe via git URL@tag 2021-04-01 14:45:43 +01:00
Athanasius
753b5c59d3 Releasing.md: py2exe 0.10.0.1 now released so reference it. 2021-04-01 14:45:43 +01:00
Athanasius
77939ad48e Releasing.md: Update example full python path
* Python 3.8 now.
* And reference the centrally installed location, not the one under
  %LOCALAPPDATA%.
2021-04-01 14:45:43 +01:00
Athanasius
1563e50733 PLUGINS.md: Reference Releasing.md for currently supported Python version 2021-04-01 14:45:43 +01:00
Athanasius
1b4ee4f3dd PLUGINS.md: Update to mention using Python 3.8 post-4.1.x
* Also adjusted links to information/examples to not be the bad 'here'
  form.
2021-04-01 14:45:43 +01:00
Athanasius
3e54e1f015 Releasing.md: Update for Python 3.8.6 and py2exe 0.10.x.
* Also put `--user` on the example `pip install` line.
2021-04-01 14:45:43 +01:00
Athanasius
54f797ada8 setup.py: No need to manually include sqlite3.dll now 2021-04-01 14:45:43 +01:00
Athanasius
44bea3468d setup.py: Trial without naming requests in packages. 2021-04-01 14:45:43 +01:00
Athanasius
a0c3fd04fd requirements.txt: Bump certifi to the latest: 2020.6.20 2021-04-01 14:45:43 +01:00
Athanasius
9177f9e229 setup.py: Check python version at start 2021-04-01 14:45:43 +01:00
Athanasius
e999dd6800 setup.py: appcast file & PKG -> package_filename rename 2021-04-01 14:45:43 +01:00
Athanasius
f3433382c3 setup.py: Formatting in win32 packaging. 2021-04-01 14:45:43 +01:00
Athanasius
a013ad19ba setup.py: Format darwin packaging code. 2021-04-01 14:45:42 +01:00
Athanasius
f7d18c12df setup.py: Rename BASEappversion -> base_appversion. 2021-04-01 14:45:42 +01:00
Athanasius
697fcf83ef setup.py: Format setup() call. 2021-04-01 14:45:42 +01:00
Athanasius
03c97299c4 setup.py: win32 OPTIONS and DATA_FILES formatting 2021-04-01 14:45:42 +01:00
Athanasius
b417745e7e setup.py: darwin OPTIONS & misc formatting 2021-04-01 14:45:42 +01:00
Athanasius
bc5f805b5a setup.py: isorted imports & de-caps config variables
* Test build exhibited no issues.
2021-04-01 14:45:42 +01:00
Athanasius
41cb4c24ce setup.py: Bump SDKPATH to use 19041 (Windows 10 2004) Kit. 2021-04-01 14:45:42 +01:00
Athanasius
3a0423381f Version to 4.2.0-beta1 to distinguish Python 3.8 builds
* I don't want to be checking something against 4.1.x releases when my
  last build was with Python 3.8.

# Conflicts:
#	config.py

# Conflicts:
#	config.py

# Conflicts:
#	config.py
2021-04-01 14:45:39 +01:00
Athanasius
49b6e22ca1 requirements: py2exe only on win32 platform 2021-04-01 14:45:12 +01:00
Athanasius
9c0b690095 requirements: Reference py2exe via git URL@tag 2021-04-01 14:45:12 +01:00
Athanasius
c88f634ec1 Releasing.md: py2exe 0.10.0.1 now released so reference it. 2021-04-01 14:45:12 +01:00
Athanasius
6600d1a78a GitHub Workflow: Update to Python 3.8 2021-04-01 14:45:12 +01:00
Athanasius
818466a3cf Releasing.md: Update example full python path
* Python 3.8 now.
* And reference the centrally installed location, not the one under
  %LOCALAPPDATA%.
2021-04-01 14:45:12 +01:00
Athanasius
8ceca8912e PLUGINS.md: Reference Releasing.md for currently supported Python version 2021-04-01 14:45:12 +01:00
Athanasius
8f721cf06e PLUGINS.md: Update to mention using Python 3.8 post-4.1.x
* Also adjusted links to information/examples to not be the bad 'here'
  form.
2021-04-01 14:45:12 +01:00
Athanasius
095c45df8f Releasing.md: Update for Python 3.8.6 and py2exe 0.10.x.
* Also put `--user` on the example `pip install` line.
2021-04-01 14:45:11 +01:00
Athanasius
b702f4a430 WXS: Add additional Python 3.8 files to installer.
Confirmed an installer generated with this both installs and has working
.exe.
2021-04-01 14:45:11 +01:00
Athanasius
161ccc04b1 setup.py: No need to manually include sqlite3.dll now 2021-04-01 14:45:11 +01:00