Commit graph

1094 commits

Author SHA1 Message Date
Hugo van Kemenade 094392e37f Fix E721 do not compare types, for exact checks use 'is' / 'is not', for instance checks use 'isinstance()' 2023-08-22 14:17:03 +03:00
Hugo van Kemenade fd1950052c Add trailing-whitespace to pre-commit 2023-08-22 14:14:40 +03:00
pre-commit-ci[bot] 5f3a91e780 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-22 11:11:29 +00:00
Hugo van Kemenade 3ece8e83a1 Fix E721 do not compare types, for exact checks use 'is' / 'is not', for instance checks use 'isinstance()' 2023-08-22 14:11:16 +03:00
Hugo van Kemenade bbf0a0b108 Include tox to stop pre-commit deleting the 3.12 classifier 2023-08-22 14:11:16 +03:00
pre-commit-ci[bot] 761e3563ab [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-22 11:07:49 +00:00
Hugo van Kemenade db2ca9a9ab Update pre-commit 2023-08-22 14:06:44 +03:00
pre-commit-ci[bot] 92a244dc42 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-03 18:59:45 +00:00
pre-commit-ci[bot] b49020d7e6
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.4.0 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.8.0)
- [github.com/asottile/blacken-docs: 1.13.0 → 1.14.0](https://github.com/asottile/blacken-docs/compare/1.13.0...1.14.0)
- [github.com/tox-dev/pyproject-fmt: 0.10.0 → 0.12.1](https://github.com/tox-dev/pyproject-fmt/compare/0.10.0...0.12.1)
- [github.com/tox-dev/tox-ini-fmt: 1.3.0 → 1.3.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.3.0...1.3.1)
2023-07-03 18:59:34 +00:00
Hugo van Kemenade 7f1c90cfea
CI: Replace pypy3.9 with pypy3.10 (#433) 2023-06-18 14:45:26 +03:00
Hugo van Kemenade 68c0197028 CI: Replace pypy3.9 with pypy3.10
Committed via https://github.com/asottile/all-repos
2023-06-18 14:42:29 +03:00
Hugo van Kemenade 9e62e37b1e
Update mheap/github-action-required-labels action to v5 (#432) 2023-06-08 21:24:55 +03:00
Hugo van Kemenade c26c5f86aa Update on the first day of the month 2023-06-08 21:22:05 +03:00
renovate[bot] f7a73aa62f
Update mheap/github-action-required-labels action to v5 2023-06-08 17:29:12 +00:00
Hugo van Kemenade 34e0e54fea
Merge pull request #431 from pylast/deploy 2023-06-06 19:24:16 +03:00
Hugo van Kemenade 02da99f4b0 Use hynek/build-and-inspect-python-package 2023-06-06 19:20:56 +03:00
Hugo van Kemenade 5f302e0813
Merge pull request #430 from pylast/rm-3.7 2023-06-06 19:15:22 +03:00
Hugo van Kemenade 47eda3ea70 Refactor: make helper methods static 2023-06-03 18:10:01 +03:00
Hugo van Kemenade 7da76f49bd Refactor: replace redundant helper methods, no need with pytest 2023-06-03 18:03:05 +03:00
Hugo van Kemenade 1c669d8bb0 Fix test: now returns a png 2023-06-03 17:55:00 +03:00
Hugo van Kemenade 0f59831dc2 Drop support for EOL Python 3.7 2023-06-03 17:41:35 +03:00
Hugo van Kemenade 8d8263ce42
Merge pull request #428 from pylast/deploy 2023-04-18 06:31:29 -06:00
Hugo van Kemenade 07ce433fc0
Merge pull request #427 from pylast/add-3.12 2023-04-18 06:21:36 -06:00
Hugo van Kemenade dc4bd8474c Test newest PyPy 2023-04-18 06:19:54 -06:00
Hugo van Kemenade b05b8454f5 Update pre-commit 2023-04-18 06:09:25 -06:00
Hugo van Kemenade 56fc297371 Publish to PyPI with a Trusted Publisher 2023-04-18 06:08:52 -06:00
Hugo van Kemenade 9f59dd770c Add support for Python 3.12 2023-04-18 06:04:33 -06:00
Hugo van Kemenade f0ea480334
Merge pull request #426 from pylast/pre-commit-ci-update-config 2023-04-18 05:49:37 -06:00
Hugo van Kemenade 165e4761f4
Merge pull request #424 from pylast/all-repos_autofix_fix-deprecated-repository_url
Replace deprecated repository_url with repository-url
2023-04-18 05:34:12 -06:00
Hugo van Kemenade cdb88b9bbb Update pre-commit 2023-04-18 05:28:30 -06:00
pre-commit-ci[bot] 879591e1cc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-03 19:10:56 +00:00
pre-commit-ci[bot] 6a7a23cd9a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0)
- [github.com/asottile/blacken-docs: v1.12.1 → 1.13.0](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.13.0)
- [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](https://github.com/pre-commit/pygrep-hooks/compare/v1.9.0...v1.10.0)
- [github.com/tox-dev/pyproject-fmt: 0.4.1 → 0.9.2](https://github.com/tox-dev/pyproject-fmt/compare/0.4.1...0.9.2)
- [github.com/abravalheri/validate-pyproject: v0.10.1 → v0.12.2](https://github.com/abravalheri/validate-pyproject/compare/v0.10.1...v0.12.2)
- [github.com/tox-dev/tox-ini-fmt: 0.5.2 → 1.0.0](https://github.com/tox-dev/tox-ini-fmt/compare/0.5.2...1.0.0)
2023-04-03 19:10:46 +00:00
Hugo van Kemenade 793ae1453c
Merge pull request #425 from pylast/renovate/github-actions
chore(deps): update mheap/github-action-required-labels action to v4
2023-04-02 14:03:18 +03:00
renovate[bot] 111334328e
chore(deps): update mheap/github-action-required-labels action to v4 2023-04-02 09:06:18 +00:00
Hugo van Kemenade 15f0ccfd58 Replace deprecated repository_url with repository-url
Committed via https://github.com/asottile/all-repos
2023-03-19 15:53:12 +02:00
Hugo van Kemenade 94432d62b0
Merge pull request #423 from pylast/all-repos_autofix_all-repos-sed 2023-01-29 13:29:31 +02:00
Hugo van Kemenade dab0a5b661 Bump isort to fix Poetry
Re: https://github.com/PyCQA/isort/pull/2078

Committed via https://github.com/asottile/all-repos
2023-01-29 13:27:16 +02:00
Hugo van Kemenade 7f07babdf4
Merge pull request #421 from ndm13/patch-1
Document how to authenticate with a session key
2023-01-06 09:54:32 +02:00
Hugo van Kemenade f5ea06c6c9
Include "import pylast" in both blocks 2023-01-06 09:49:52 +02:00
Hugo van Kemenade 4ea1df0930
Merge pull request #420 from pylast/pre-commit-ci-update-config 2023-01-05 18:46:19 +02:00
Hugo van Kemenade e63ecc7bea Autolabel pre-commit PRs with 'changelog: skip' 2023-01-05 18:42:43 +02:00
Hugo van Kemenade 28403386a8 Bump Black 2023-01-05 18:41:16 +02:00
Hugo van Kemenade 8647cbdd48 Make alternative clearer via own code blocks 2023-01-05 18:36:38 +02:00
ndm13 a37ac22e6c
Add code from pylast #407 to readme
Describe authentication with OAuth token
2023-01-02 15:09:16 -05:00
pre-commit-ci[bot] 7861fd55bd
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.1.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.3.1)
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)
- [github.com/PyCQA/isort: 5.10.1 → 5.11.4](https://github.com/PyCQA/isort/compare/5.10.1...5.11.4)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/tox-dev/pyproject-fmt: 0.3.5 → 0.4.1](https://github.com/tox-dev/pyproject-fmt/compare/0.3.5...0.4.1)
2023-01-02 18:09:58 +00:00
Hugo van Kemenade 219be9f61a
Merge pull request #419 from pylast/renovate/github-actions 2022-12-31 00:07:48 +02:00
renovate[bot] 8169fad09d
chore(deps): update mheap/github-action-required-labels action to v3 2022-12-30 21:56:31 +00:00
Hugo van Kemenade 0152d98b28
Merge pull request #418 from pylast/all-repos_autofix_add-3.12-dev 2022-11-09 14:00:31 +02:00
Hugo van Kemenade d03e25fc6c Test Python 3.12-dev
Committed via https://github.com/asottile/all-repos
2022-11-09 13:44:07 +02:00
Hugo van Kemenade ce76c03581
Merge pull request #416 from pylast/test-3.11-final
Test on Python 3.11 final
2022-10-25 18:58:49 +03:00