diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 755f90d..83c277e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -3,8 +3,6 @@ current_version = 0.2.1 commit = True tag = True -[bumpversion:file:__pkginfo__.py] - [bumpversion:file:README.rst] [bumpversion:file:doc-source/index.rst] diff --git a/.github/workflows/docs_test_action.yml b/.github/workflows/docs_test_action.yml index 720ef13..49e2cc1 100644 --- a/.github/workflows/docs_test_action.yml +++ b/.github/workflows/docs_test_action.yml @@ -2,7 +2,8 @@ --- name: "Docs Check" on: - - push + push: + pull_request: permissions: contents: read diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index e681938..6040590 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -4,6 +4,7 @@ name: Flake8 on: push: + pull_request: permissions: contents: read diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 7cea4e5..0a22b0a 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -4,6 +4,7 @@ name: mypy on: push: + pull_request: permissions: contents: read diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml index 58dcdb4..6cc6efd 100644 --- a/.github/workflows/python_ci.yml +++ b/.github/workflows/python_ci.yml @@ -4,6 +4,7 @@ name: Windows on: push: + pull_request: permissions: actions: write diff --git a/.github/workflows/python_ci_linux.yml b/.github/workflows/python_ci_linux.yml index 3da32ba..ecae27e 100644 --- a/.github/workflows/python_ci_linux.yml +++ b/.github/workflows/python_ci_linux.yml @@ -4,6 +4,7 @@ name: Linux on: push: + pull_request: permissions: actions: write diff --git a/.github/workflows/python_ci_macos.yml b/.github/workflows/python_ci_macos.yml index ada9d96..33b60be 100644 --- a/.github/workflows/python_ci_macos.yml +++ b/.github/workflows/python_ci_macos.yml @@ -4,6 +4,7 @@ name: macOS on: push: + pull_request: permissions: actions: write diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d3dd802..76669f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,7 +46,7 @@ repos: files: ^wordle/.*\.py$ - repo: https://github.com/domdfcoding/flake2lint - rev: v0.4.0 + rev: v0.4.1 hooks: - id: flake2lint @@ -73,7 +73,7 @@ repos: - id: forbid-crlf - repo: https://github.com/repo-helper/formate - rev: v0.4.6 + rev: v0.4.9 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ diff --git a/__pkginfo__.py b/__pkginfo__.py index dabbb95..ea4ef04 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -11,10 +11,6 @@ # This script based on https://github.com/rocky/python-uncompyle6/blob/master/__pkginfo__.py # -__all__ = [ - "__version__", - "extras_require", - ] +__all__ = ["extras_require"] -__version__ = "0.2.1" extras_require = {} diff --git a/pyproject.toml b/pyproject.toml index 750ad18..b655609 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,10 +37,6 @@ python-implementations = [ "CPython",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" -[tool.mkrecipe] -conda-channels = [ "domdfcoding",] -extras = "all" - [tool.sphinx-pyproject] github_username = "domdfcoding" github_repository = "wordle"