Athanasius
7fe86c5862
companion.py: Minor typing fixes
2022-12-23 14:47:15 +00:00
Athanasius
9377bbf225
edshipyard: Minor typing fix
2022-12-23 14:47:14 +00:00
Athanasius
25dfb0588a
tests/journal_lock: Minor typing fixes.
2022-12-23 14:47:14 +00:00
Athanasius
f52ffce79f
timeout_session: Minor typing fix
2022-12-23 14:47:13 +00:00
Athanasius
872ab1b814
hotkey/darwin: No need to sys.platform gate within this
...
And it gets rid of a `pre-commit run --all-files mypy` error.
2022-12-23 14:47:12 +00:00
Athanasius
4041890f39
tests/config/_old_config.py: Minor typing fixes.
2022-12-23 14:47:11 +00:00
Athanasius
777b38e179
theme.py: Minor typing fix
2022-12-23 14:47:10 +00:00
Athanasius
36bd08d715
l10n.py: Two minor typing fixes
2022-12-23 14:47:09 +00:00
Athanasius
85fc308d42
outfitting.py: Correct indexing into two maps
...
The current data literally only uses strings as indexes.
2022-12-23 14:47:08 +00:00
Athanasius
a08eef3244
flake8, hotkey/darwin: Just ignore this file for now
...
It'll take digging into macOS-specific documents to type things sufficiently
to pass the flake8 TAE001 "too few type annotations" check.
2022-12-23 14:47:07 +00:00
Athanasius
f7cba59e61
hotkey: Re-factor into a module, per-arch files
...
This helps avoid some pre-commit/mypy carping.
2022-12-23 14:47:06 +00:00
Athanasius
d40bb4f09c
dashboard: Minor process()
type fix
2022-12-23 14:47:05 +00:00
Athanasius
4db4165676
config/linux: Fix pre-commit run --all-files
-only issue
...
When run this way mypy thinks `config.linux` has no attribute `LinuxConfig`.
2022-12-23 14:47:04 +00:00
Athanasius
acbe1231ef
EDMCLogging: loglevel is str | int
2022-12-23 14:47:03 +00:00
Athanasius
19f3df77f2
examples/click_counter: Types *should* be fixed up
...
NB: Didn't run this at all to test.
2022-12-23 14:47:02 +00:00
Athanasius
3ed84bcad8
examples/plugintest: Drop the 'pre-5.0.0' config fixups
...
It's a pain for typing, and should be long since irrelevant.
2022-12-23 14:47:01 +00:00
Athanasius
d76e827dc5
config/windows: Fix up types
2022-12-23 14:47:00 +00:00
Athanasius
5f4f524fec
And update reference to renamed coriolis.py in docs/Releasing.md
2022-12-23 14:46:59 +00:00
Athanasius
7440c9a064
Renamed coriolis.py so it'll never clash with plugins/coriolis.py
2022-12-23 14:46:58 +00:00
Athanasius
61bdb54eb1
.mypy.ini: Add --explicit-package-bases
to help with pre-commit invocation
2022-12-23 14:46:57 +00:00
Athanasius
48763890fe
config: Fix "could be None" types in __init__.py
2022-12-23 14:46:56 +00:00
Athanasius
204ded5b10
pre-commit: Add types-urllib3 to additional_dependencies
...
It's in `pip freeze | grep types`, so might as well be explicit.
2022-12-23 14:46:55 +00:00
Athanasius
553c9012f7
Merge pull request #1768 from EDCD/dependabot/pip/develop/coverage-toml--7.0.0
...
build(deps-dev): bump coverage[toml] from 6.5.0 to 7.0.0
2022-12-22 17:45:22 +00:00
dependabot[bot]
07474304cf
build(deps-dev): bump coverage[toml] from 6.5.0 to 7.0.0
...
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy ) from 6.5.0 to 7.0.0.
- [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/6.5.0...7.0.0 )
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 17:35:52 +00:00
Athanasius
81b19824ba
Merge pull request #1778 from EDCD/dependabot/pip/develop/types-requests-2.28.11.7
...
build(deps-dev): bump types-requests from 2.28.11.6 to 2.28.11.7
2022-12-22 17:35:21 +00:00
Athanasius
bf54569fda
Merge pull request #1776 from EDCD/dependabot/pip/develop/isort-5.11.4
...
build(deps-dev): bump isort from 5.11.3 to 5.11.4
2022-12-22 17:35:15 +00:00
Athanasius
dbb15229a4
Merge pull request #1777 from EDCD/dependabot/pip/develop/coverage-conditional-plugin-0.8.0
...
build(deps-dev): bump coverage-conditional-plugin from 0.7.0 to 0.8.0
2022-12-22 17:34:54 +00:00
dependabot[bot]
70a9609ef0
build(deps-dev): bump types-requests from 2.28.11.6 to 2.28.11.7
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.28.11.6 to 2.28.11.7.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 17:01:12 +00:00
dependabot[bot]
62b0a392bd
build(deps-dev): bump coverage-conditional-plugin from 0.7.0 to 0.8.0
...
Bumps [coverage-conditional-plugin](https://github.com/wemake-services/coverage-conditional-plugin ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/wemake-services/coverage-conditional-plugin/releases )
- [Changelog](https://github.com/wemake-services/coverage-conditional-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wemake-services/coverage-conditional-plugin/compare/0.7.0...0.8.0 )
---
updated-dependencies:
- dependency-name: coverage-conditional-plugin
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 17:01:04 +00:00
dependabot[bot]
3c0d7d1c0a
build(deps-dev): bump isort from 5.11.3 to 5.11.4
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.11.3...5.11.4 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 17:00:59 +00:00
Athanasius
292b449cf6
Fix up companion.Session.close() refactor
...
* When PyCharm made a mess I accidentally undid two renames in
EDMarketConnector.py...
* ... but one of those actually *does* need to only close the session. So
made a new Session.close() that performs only the closing, with
Session.reinit_session() now utilising that.
2022-12-22 09:15:16 +00:00
Athanasius
f7e0575167
LICENSE: Linting EOF blank line added.
2022-12-21 18:26:42 +00:00
Athanasius
1e3922aeff
Merge pull request #1772 from EDCD/dependabot/pip/develop/types-requests-2.28.11.6
...
build(deps-dev): bump types-requests from 2.28.11.5 to 2.28.11.6
2022-12-21 17:32:14 +00:00
dependabot[bot]
4f488e237d
build(deps-dev): bump types-requests from 2.28.11.5 to 2.28.11.6
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.28.11.5 to 2.28.11.6.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 17:01:17 +00:00
Athanasius
d6c74c269d
companion: Cite endpoint in capi_single_query() logging
2022-12-21 13:41:07 +00:00
Athanasius
df384c73a1
companion: Refactor Session.close() to Session.reinit_session()
...
This way it's *never* `None`, and the type can be tightend up as well.
2022-12-21 13:36:39 +00:00
Athanasius
e65a1e6afa
companion: Have Session.close()
actually open a new one by default
...
Both current callers to this are in code paths where it is expected that
Session.requests_session will be valid later. Rather than assign a new
session at the call sites just make this by default open a new session.
2022-12-21 13:27:53 +00:00
Athanasius
2b79b89803
Contributing/Python-env: Note VSCode issue with pre-commit.
2022-12-21 13:10:01 +00:00
Athanasius
254988fd80
Contributing.md: Add 'Python Environment' section.
2022-12-21 13:05:36 +00:00
Athanasius
87b48031a0
development: Also exclude .venv/
as that's VSCode default
2022-12-21 12:30:53 +00:00
Athanasius
579c95024b
'develop only for devs': d'oh, re-allow Athan on Windows
2022-12-21 10:45:55 +00:00
Athanasius
8386487dc1
Tweak non-developer-running-develop check
...
This allows for someone running a custom branch, with working `git branch`,
even if it's an `-alpha0` version.
2022-12-20 17:58:38 +00:00
Athanasius
18dae6513d
Merge pull request #1769 from EDCD/dependabot/pip/develop/pep8-naming-0.13.3
...
build(deps-dev): bump pep8-naming from 0.13.2 to 0.13.3
2022-12-20 17:01:53 +00:00
dependabot[bot]
0abd4665ff
build(deps-dev): bump pep8-naming from 0.13.2 to 0.13.3
...
Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/PyCQA/pep8-naming/releases )
- [Changelog](https://github.com/PyCQA/pep8-naming/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/PyCQA/pep8-naming/compare/0.13.2...0.13.3 )
---
updated-dependencies:
- dependency-name: pep8-naming
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 17:00:54 +00:00
Athanasius
8db61dc76c
requirements-dev: Add pre-commit==2.20.0
2022-12-20 16:55:57 +00:00
Athanasius
868c1d8e57
docs: Fix up references to setup.py to be to Build-exe-and-msi.py
2022-12-20 16:51:58 +00:00
Athanasius
8591dfee8a
Merge pull request #1767 from EDCD/dependabot/pip/develop/isort-5.11.3
...
build(deps-dev): bump isort from 5.11.2 to 5.11.3
2022-12-20 11:58:08 +00:00
dependabot[bot]
46083054a0
build(deps-dev): bump isort from 5.11.2 to 5.11.3
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.11.2...5.11.3 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 17:01:32 +00:00
Athanasius
a729d4d500
docs/Releasing: Always run ./coriolis.py for a build
2022-12-19 12:32:04 +00:00
Athanasius
ea808bb020
Merge pull request #1766 from EDCD/submodule-change/3731276373
...
[Auto-generated] Submodule Updates 3731276373
2022-12-19 12:26:33 +00:00