Skip to content

Commit

Permalink
Update dependencies and changelog for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jairo Llopis authored and yajo committed Jun 18, 2020
1 parent 65b03c0 commit 3af3209
Show file tree
Hide file tree
Showing 5 changed files with 269 additions and 247 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:

# prettier to format our many yaml files
- repo: https://github.com/prettier/prettier
rev: "1.19.1"
rev: 2.0.5
hooks:
- id: prettier
exclude: |
Expand All @@ -52,7 +52,7 @@ repos:
# miscellaneous hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v3.1.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<summary>Table of contents</summary>

- [Version 4.0.0 (2020-06)](#version-400-2020-06)
- [Version 3.2.0 (2020-06)](#version-320-2020-06)
- [Version 3.1.0 (2020-05)](#version-310-2020-05)
- [Version 3.0.0 (2020-03)](#version-300-2020-03)
- [Features](#features)
Expand All @@ -25,6 +27,21 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
<!-- prettier-ignore-end -->
</details>

### Version 4.0.0 (2020-06)

[All changes here](https://github.com/copier-org/copier/milestone/9?closed=1). Summary:

- Remove semver to avoid having 2 different versioning systems. We stick to PEP 440 now.
- Remember where an answer comes from.
- Do not re-ask to the user if already answer via `--data`.
- Support pre-migration scripts that modify the answers file.

### Version 3.2.0 (2020-06)

[All changes here](https://github.com/copier-org/copier/milestone/8?closed=1). Summary:

- Templates can now use a subdirectory instead of always the template root.

### Version 3.1.0 (2020-05)

[All changes here](https://github.com/pykong/copier/milestone/7?closed=1). Summary:
Expand Down
2 changes: 1 addition & 1 deletion copier/config/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(self, **kwargs: AnyByStrDict):
@validator("skip", always=True)
def mutually_exclusive_flags(cls, v, values): # noqa: B902
if v and values["force"]:
raise ValueError(f"Flags `force` and `skip` are mutually exclusive.")
raise ValueError("Flags `force` and `skip` are mutually exclusive.")
return v

# sanitizers
Expand Down
Loading

0 comments on commit 3af3209

Please sign in to comment.