Adding upstream version 2.12.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
851c52101f
commit
9a762b409f
5 changed files with 13 additions and 5 deletions
|
@ -21,11 +21,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: autopep8
|
- id: autopep8
|
||||||
- repo: https://github.com/pre-commit/pre-commit
|
- repo: https://github.com/pre-commit/pre-commit
|
||||||
rev: v2.12.0
|
rev: v2.12.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: validate_manifest
|
- id: validate_manifest
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.11.0
|
rev: v2.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py36-plus]
|
args: [--py36-plus]
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
2.12.1 - 2021-04-16
|
||||||
|
===================
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix race condition when stashing files in multiple parallel invocations
|
||||||
|
- #1881 PR by @adamchainz.
|
||||||
|
- #1880 issue by @adamchainz.
|
||||||
|
|
||||||
2.12.0 - 2021-04-06
|
2.12.0 - 2021-04-06
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ resources:
|
||||||
type: github
|
type: github
|
||||||
endpoint: github
|
endpoint: github
|
||||||
name: asottile/azure-pipeline-templates
|
name: asottile/azure-pipeline-templates
|
||||||
ref: refs/tags/v2.0.0
|
ref: refs/tags/v2.1.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: job--python-tox.yml@asottile
|
- template: job--python-tox.yml@asottile
|
||||||
|
|
|
@ -47,7 +47,7 @@ def _unstaged_changes_cleared(patch_dir: str) -> Generator[None, None, None]:
|
||||||
retcode=None,
|
retcode=None,
|
||||||
)
|
)
|
||||||
if retcode and diff_stdout_binary.strip():
|
if retcode and diff_stdout_binary.strip():
|
||||||
patch_filename = f'patch{int(time.time())}'
|
patch_filename = f'patch{int(time.time())}-{os.getpid()}'
|
||||||
patch_filename = os.path.join(patch_dir, patch_filename)
|
patch_filename = os.path.join(patch_dir, patch_filename)
|
||||||
logger.warning('Unstaged files detected.')
|
logger.warning('Unstaged files detected.')
|
||||||
logger.info(f'Stashing unstaged files to {patch_filename}.')
|
logger.info(f'Stashing unstaged files to {patch_filename}.')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = pre_commit
|
name = pre_commit
|
||||||
version = 2.12.0
|
version = 2.12.1
|
||||||
description = A framework for managing and maintaining multi-language pre-commit hooks.
|
description = A framework for managing and maintaining multi-language pre-commit hooks.
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
Loading…
Add table
Reference in a new issue