1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 10:27:38 +03:00

5450 Commits

Author SHA1 Message Date
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
aussig
3c8eca16af Revert unnoticed whitespace modifications to PLUGINS.py 2022-12-23 13:01:47 +00:00
aussig
7e726e606a Store original request cmdr name in 'request_cmdr' in CAPIData 2022-12-23 12:47:35 +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
aussig
3e295db061 Typing of return values from killswitch.check_killswitch() 2022-12-22 17:39:20 +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
aussig
9e17c46b25 Implement suggestions from PR #1773. 2022-12-22 16:21:42 +00:00
aussig
cb2a6b6995 Merge branch 'develop' into feature/847/capi-fleetcarrier 2022-12-22 15:32:17 +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
aussig
a551da59a3 Documentation for capi_fleetcarrier() plugin callback function 2022-12-22 08:57:50 +00:00
aussig
dfbdc0bb3f Merge branch 'feature/847/capi-fleetcarrier' of https://github.com/aussig/EDMarketConnector into feature/847/capi-fleetcarrier 2022-12-21 23:01:34 +00:00
aussig
6ebdea1a6c Fleetcarrier CAPI now triggered by certain carrier journal events, and throttled on its own cooldown (15 mins) 2022-12-21 23:00:36 +00:00
aussig
8e5953408e Handling of /fleetcarrier CAPI endpoint and implementation of plugin callback function 2022-12-21 23:00:35 +00:00
aussig
eedf4febdf Initial implementation of CAPI /fleetcarrier endpoint 2022-12-21 23:00:35 +00:00
aussig
c85ddbac9a Fleetcarrier CAPI now triggered by certain carrier journal events, and throttled on its own cooldown (15 mins) 2022-12-21 22:58:25 +00:00
aussig
fb78ff3820 Handling of /fleetcarrier CAPI endpoint and implementation of plugin callback function 2022-12-21 20:20:14 +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
aussig
bcb1cae7f3 Merge branch 'feature/847/capi-fleetcarrier' of https://github.com/aussig/EDMarketConnector into feature/847/capi-fleetcarrier 2022-12-21 13:44:23 +00:00
aussig
8b30ba8331 Initial implementation of CAPI /fleetcarrier endpoint 2022-12-21 13:43:38 +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
aussig
2a91803d59 Merge branch 'feature/847/capi-fleetcarrier' of https://github.com/aussig/EDMarketConnector into feature/847/capi-fleetcarrier 2022-12-21 13:25:42 +00:00
aussig
5b38a96828 Initial implementation of CAPI /fleetcarrier endpoint 2022-12-21 13:15:08 +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
aussig
255b1913d8 Initial implementation of CAPI /fleetcarrier endpoint 2022-12-21 12:50:13 +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