Skip to content

Commit

Permalink
chore: update cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
wpk committed Jul 10, 2023
1 parent 7a82904 commit 3709bbb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/wpk-nist-gov/cookiecutter-pypackage.git",
"commit": "9f90292d37d2ce2ad704f6e298125f29830b5480",
"commit": "c205c8acb0c3f69df17cbdfc00c03f806e0eef9b",
"checkout": "feature/nox",
"context": {
"cookiecutter": {
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ repos:
- id: check-toml
#* Formatting
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.6"
rev: "v3.0.0"
hooks:
- id: prettier
stages: [commit]
additional_dependencies:
- prettier-plugin-toml
#** markdown
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.6.0
rev: v0.8.1
hooks:
- id: markdownlint-cli2
args: ["--style prettier"]
#* Linting
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: "v0.0.261"
rev: "v0.0.277"
hooks:
- id: ruff
- repo: https://github.com/psf/black
Expand All @@ -46,7 +46,7 @@ repos:
# Move to just black. use nbqa for notebook formatting
- id: black
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.13.0"
rev: "1.15.0"
hooks:
- id: blacken-docs
additional_dependencies:
Expand All @@ -62,7 +62,7 @@ repos:

#* Commit message
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.0.1
rev: 3.5.2
hooks:
- id: commitizen
stages: [commit-msg]
Expand Down Expand Up @@ -97,7 +97,7 @@ repos:
- id: isort
stages: [manual]
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.9.0
hooks:
- id: pyupgrade
stages: [manual]
Expand Down Expand Up @@ -125,7 +125,7 @@ repos:
stages: [manual]
#** spelling
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
types_or: [python, rst, markdown, cython, c]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ docs-clean: ## clean docs
rm -rf docs/reference/generated/*
docs-clean-build: docs-clean docs-build ## clean and build
docs-release: ## release docs.
$(NOX) -s docs -- release
$(NOX) -s docs -- -d release
docs-command: ## run arbitrary command with command=...
$(NOX) -s docs -- --docs-run $(command)

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ known_first_party = ["pyproject2conda"]
[tool.ruff]
fix = true
line-length = 88
update-check = false
target-version = "py38"
select = [
# pyflakes
Expand Down

0 comments on commit 3709bbb

Please sign in to comment.