Skip to content

Commit 582d618

Browse files
committed
Update project template cruft
Applied updates from upstream project template commits: 757202d...c4899ec * c4899ec Merge pull request #90 from smkent/cruft-json-reset |\ | * f61ed02 Replace repo_reset with .cruft.json checkout |/ * f5e42d6 Merge pull request #88 from smkent/autoflake-pyupgrade |\ | * 0d9d2ea Merge branch 'main' into autoflake-pyupgrade | |\ | |/ |/| * | a4fec71 Merge pull request #89 from smkent/fix-pyproject-version |\ \ | * | 62b1b68 Configure pyproject.toml build-backend for poetry-dynamic-versioning | * | 85d5f74 Enable poetry-dynamic-versioning in pyproject.toml | * | 549fc6e Update python-poetry action from template | * | 1001f3e Add __version__.py | * | 42f765f Remove fixed version string from pyproject.toml |/ / | * d5f398c Add autoflake to pre-commit config | * dda7315 Add pyupgrade to pre-commit config |/ * 429b0c8 Merge pull request #87 from smkent/manage-cookie-branch-name |\ | * 21aceda Tweak manage-cookie branch name |/ * a3f5e77 Merge pull request #86 from smkent/update-cookie |\ | * a7ec03b Update dependencies |/ * 432da6a Merge pull request #85 from smkent/reference-self-current-dir |\ | * 3368613 Reference own template via current directory instead of URL |/ * 8ea43c8 Merge pull request #84 from smkent/skip-empty-updates |\ | * 0199bed Rework repository reset as a decorator | * ee6e1de Reset repository working directory if skipping cruft update | * 41940ba Capture output in git status command | * 508f99d Skip cruft updates without template modifications |/ * 1b2d5ae Merge pull request #83 from smkent/ci-cd-pypi |\ | * 3366570 Enable publishing to PyPI | * 77d2309 Apply CI/CD workflow updates from template |/ * 2c96f9e Merge pull request #82 from smkent/readme-badges |\ | * 5820d18 Merge remote-tracking branch 'origin/main' into readme-badges | |\ | |/ |/| * | c49a336 Merge pull request #81 from smkent/manage-main-loop |\ \ | * | 653af5b Move repository iteration loop to manage-cookie main function |/ / | * 0de67eb Add PyPI badges to README.md | * 01a9943 Add codecov badge to README.md |/ * de9e951 Merge pull request #80 from smkent/github-api |\ | * 3343a19 Remove now-unused subprocess.run mock | * d4fe333 Use PyGithub to create and locate releases | * 77109a6 Mock PyGithub in unit tests, rename API token env var | * b523f8e Use PyGithub for pull request creation, deletion | * 7ef5da8 Use PyGithub to resolve repository from CLI params | * 101cf80 Add pygithub |/ * faaf379 Merge pull request #78 from smkent/replace-pr |\ | * 39a7465 Log opened PR URL | * e89cc06 Close existing PR on update | * 0305500 Don't check for existing branch on remote at clone time * | c21e45e Merge pull request #79 from smkent/release-log-fixup |\ \ | |/ |/| | * 163d273 Fix release log message wording |/ * 4fe836a Merge pull request #77 from smkent/status-output |\ | * 4f087ad Tweak log messages | * 3945331 Fix update loop continuation | * 685a6ae Print status output in manage-cookie commands using loguru | * e9c0b0f Add loguru |/ * daed151 Merge pull request #76 from smkent/manage-release |\ | * bb1f6f5 Fixup manage-release update description text | * d68915b Add tests for manage-cookie release | * c0f8984 Move manage_cookie_main invocation to a helper function | * 02de8c7 Split poetry.lock creation in new_cookie fixture to new fixture | * 8a56ffe Implement manage-cookie release action | * d75175b Create release action stub | * c99f99d Improve action argument usage text | * 34d3cf0 Add semver |/ * ee4514f Merge pull request #75 from smkent/manage-cookie |\ | * 093053a Move cruft_attr to be a method on RepoSandbox | * c821e2b Skip interactive shell invocation if not connected to a tty | * 56add15 Move interactive shell invocation to a RepoSandbox method | * d419981 Test manage-cookie update with and without updates to apply | * 54491c0 Remove unused bits of code | * 66fce53 Patch os.environ using patch.dict instead of patch.object | * 0660473 Configure git author environment values via a fixture | * ea8c79f Use existing local or freshly cloned template repo for commit graph | * bca9b27 Provide values for git author name and email in manage-cookie tests | * c910694 Fetch full repository history in CI/CD action | * 2e7e1aa Add unit test for manage-cookie update flow | * dd140a6 Implement repository update action | * 40355c9 Refactor RepoSandbox | * 2a40703 Remove ManageCookie class, move update action entry point to new file | * 6db05ed Simplify manage-cookie main file | * 31b15d8 Move RepoSandbox to a new file | * a05cf4d Move manage-cookie code to a new subdirectory | * 47ad7e6 Add manage cookie command and repo sandbox class | * aea89aa Rename main.py to new.py |/ * 2662650 Merge pull request #74 from smkent/self-management * 24d2599 Enable coverage report upload * 4833749 Configure coverage * 751c221 Add .cruft.json with current settings
1 parent c4899ec commit 582d618

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.cruft.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": ".",
3-
"commit": "757202d63c5e720d55fbd434d89ab8f45cd0c6bb",
3+
"commit": "c4899ec894c43ac32a763a480b6fb0f209503ede",
44
"context": {
55
"cookiecutter": {
66
"project_name": "Cookiecutter template for new Python projects",

.pre-commit-config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ repos:
3434
- flake8-pyproject
3535
- flake8-simplify
3636
- pep8-naming
37+
- repo: https://github.com/pycqa/autoflake
38+
rev: v2.0.1
39+
hooks:
40+
- id: autoflake
41+
- repo: https://github.com/asottile/pyupgrade
42+
rev: v3.3.1
43+
hooks:
44+
- id: pyupgrade
3745
- repo: local
3846
hooks:
3947
- id: mypy

0 commit comments

Comments
 (0)