Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#111)
Browse files Browse the repository at this point in the history
* bump version

* fix action file

* Update README.md

* Update README.md

* Update README.md

* Update .pre-commit-config.yaml

#107

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.4.0](pre-commit/pre-commit-hooks@v4.0.1...v4.4.0)
- [github.com/pycqa/flake8: 3.9.2 → 6.0.0](PyCQA/flake8@3.9.2...6.0.0)
- [github.com/pycqa/isort: 5.9.3 → 5.12.0](PyCQA/isort@5.9.3...5.12.0)
- [github.com/psf/black: 21.7b0 → 23.3.0](psf/black@21.7b0...23.3.0)
- [github.com/pre-commit/mirrors-mypy: v0.910 → v1.4.1](pre-commit/mirrors-mypy@v0.910...v1.4.1)
- [github.com/asottile/pyupgrade: v2.23.1 → v3.8.0](asottile/pyupgrade@v2.23.1...v3.8.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: Bob Belderbos <[email protected]>
Co-authored-by: Bob Belderbos <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 5, 2023
1 parent fb90b71 commit ba9d25a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
- name: Install Poetry
run: poetry install

- name: Configure Poetry Repository
- name: Set testpypi repo
run: poetry config repositories.testpypi https://test.pypi.org/legacy/

- name: Configure Poetry Token
- name: Set testpypi token
run: poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }}

- name: Publish package
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: trailing-whitespace
- id: debug-statements

- repo: https://github.com/PyCQA/flake8
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
Expand All @@ -37,18 +37,18 @@ repos:
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
rev: v1.4.1
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.8.0
hooks:
- id: pyupgrade
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,7 @@ Make sure to delete the `.nox` folder when you switch from Windows to WSL and vi
To ensure consistency you can use pre-commit. `pip install pre-commit` and after cloning the karmabot repo run `pre-commit install` within the project folder.

This will enable pre-commit hooks for checking before every commit.

### The story

Listen to Karmabot's core developer / maintainer Patrick Groß sharing the backstory of this project [on our podcast](https://www.pybitespodcast.com/1501156/8317703-022-the-karmabot-story-and-contributing-to-open-source).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[tool.poetry]
name = "karmabot"
authors = ["PyBites <[email protected]>", "Patrick-Oliver Groß <[email protected]>"]
classifiers = [
"License :: OSI Approved :: MIT License",
Expand All @@ -13,7 +14,6 @@ homepage = "https://github.com/PyBites-Open-Source/karmabot"
keywords = ["karmabot"]
license = "MIT"
maintainers = ["Patrick-Oliver Groß <[email protected]>"]
name = "karmabot"
readme = "README.md"
repository = "https://github.com/PyBites-Open-Source/karmabot"
version = "3.1.0"
Expand Down

0 comments on commit ba9d25a

Please sign in to comment.