diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index 841314f..c4e2f83 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39cb49d..a60b1be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 diff --git a/README.md b/README.md index 5453467..37b1363 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/pyproject.toml b/pyproject.toml index 3bf2035..110f81a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,5 @@ [tool.poetry] +name = "karmabot" authors = ["PyBites ", "Patrick-Oliver Groß "] classifiers = [ "License :: OSI Approved :: MIT License", @@ -13,7 +14,6 @@ homepage = "https://github.com/PyBites-Open-Source/karmabot" keywords = ["karmabot"] license = "MIT" maintainers = ["Patrick-Oliver Groß "] -name = "karmabot" readme = "README.md" repository = "https://github.com/PyBites-Open-Source/karmabot" version = "3.1.0"