diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6001e21..b460192 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -18,7 +18,3 @@ replace = : str = "{new_version}" search = version = "{current_version}" replace = version = "{new_version}" - -[bumpversion:file:.github/workflows/conda_ci.yml] -search = ={current_version}=py_1 -replace = ={new_version}=py_1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c9f5c0..14d757f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.4.0 + rev: v0.5.0 hooks: - id: requirements-txt-sorter args: @@ -80,7 +80,7 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v0.9.0 + rev: v1.1.2 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ diff --git a/formate.toml b/formate.toml index 5893251..20307c5 100644 --- a/formate.toml +++ b/formate.toml @@ -5,6 +5,7 @@ reformat-generics = 40 noqa-reformat = 60 ellipsis-reformat = 70 squish_stubs = 80 +newline_after_equals = 90 [hooks.yapf] priority = 30 diff --git a/pyproject.toml b/pyproject.toml index b1bdb9a..0370ff3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,11 +49,6 @@ dates = [ "pytz>=2019.1",] testing = [] all = [ "pytz>=2019.1",] -[tool.mkrecipe] -conda-channels = [ "conda-forge", "domdfcoding",] -extras = [ "dates",] -license-key = "MIT" - [tool.sphinx-pyproject] github_username = "domdfcoding" github_repository = "domdf_python_tools" diff --git a/tox.ini b/tox.ini index 3250392..8ab4c40 100644 --- a/tox.ini +++ b/tox.ini @@ -136,7 +136,6 @@ deps = git+https://github.com/python-formate/flake8-missing-annotations.git git+https://github.com/domdfcoding/pydocstyle.git@stub-functions pygments>=2.7.1 - importlib_metadata<4.5.0; python_version<'3.8' commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs} [testenv:perflint]