Skip to content

Commit

Permalink
Use reusable pre-commit hooks for linting (#466)
Browse files Browse the repository at this point in the history
* use reusable pre-commit hooks for linting

* add changed files from hook
  • Loading branch information
mmacata authored Aug 24, 2023
1 parent 3535dae commit 5ea0553
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
24 changes: 3 additions & 21 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,10 @@ repos:
dist/|
src/actinia_core.egg-info/
)
- repo: https://github.com/psf/black
rev: 22.3.0
- repo: https://github.com/mundialis/github-workflows
rev: 1.0.0
hooks:
- id: black
args: [--line-length, '79']
exclude: |
(?x)^(
build/|
dist/|
src/actinia_core.egg-info/
)
- repo: https://github.com/pycqa/flake8
rev: 3.8.0
hooks:
- id: flake8
args: [--config=.flake8]
exclude: |
(?x)^(
build/|
dist/|
src/actinia_core.egg-info/
)
- id: linting

# still deactivated, needs major code cleanup:
# - repo: https://github.com/igorshubovych/markdownlint-cli
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ released from main

**Full Changelog**: https://github.com/actinia-org/actinia-core/compare/4.9.2...4.9.3

"generated with gh api repos/actinia-org/actinia-core/releases/generate-notes -f tag_name="4.9.3" -f target_commitish=main -q .body"
"generated with gh api repos/actinia-org/actinia-core/releases/generate-notes -f tag_name="4.9.3" -f target_commitish=main -q .body"

## [4.9.2] - 2023-06-29
released from main
Expand All @@ -45,7 +45,7 @@ released from main
**Full Changelog**: https://github.com/actinia-org/actinia-core/compare/4.9.1...4.9.2

"generated with `gh api repos/actinia-org/actinia-core/releases/generate-notes -f tag_name="4.9.2" -f target_commitish=main -q .body`"


## [4.9.1] - 2023-06-14
released from main
Expand Down
2 changes: 1 addition & 1 deletion job_resumption.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ actiniaget $AUTH $URL/resource_storage
# delete resource storage files older than 5 days
actiniadelete $AUTH $URL/resource_storage?olderthan=5
actiniaget $AUTH
actiniaget $AUTH
# delete all files in the user resource storage
actiniadelete $AUTH $URL/resource_storage
Expand Down

0 comments on commit 5ea0553

Please sign in to comment.