Skip to content

Commit

Permalink
Merge pull request #280 from centre-for-humanities-computing/cruft-up…
Browse files Browse the repository at this point in the history
…date

Update based on cruft template
  • Loading branch information
KennethEnevoldsen authored Dec 29, 2023
2 parents af7d33b + 24feedd commit 017e13d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 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/KennethEnevoldsen/swift-python-cookiecutter",
"commit": "e96eb05162a0e45a8ad5aa446c72229372e79cdb",
"commit": "e02068889310225ea4f65ea0b203c2949e1597a9",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub action to run linting

name: run linting
name: run-linting

on:
pull_request:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stalebot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
close-pr-message: "This PR was closed automatically. Feel free to re-open it if you still want to work on it."
close-pr-label: "closed-by-stalebot"
operations-per-run: 20
exempt-pr-labels: "dependencies,bot"
exempt-pr-labels: "no-stale"
exempt-issue-labels: "no-stale"
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here is a list of important resources for contributors:

[Apache-2.0 license]: https://opensource.org/license/apache-2-0/
[source code]: https://github.com/centre-for-humanities-computing/dacy
[documentation]: https://dacy.readthedocs.io/
[documentation]: https://centre-for-humanities-computing.github.io/dacy/index.html
[issue tracker]: https://github.com/centre-for-humanities-computing/dacy/issues

## How to report a bug
Expand Down
4 changes: 3 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ lint:
@echo "--- 🧹 Running linters ---"
ruff format . # running ruff formatting
ruff src/ --fix # running ruff linting
ruff tests/ --fix
ruff docs/conf.py --fix

test:
@echo "--- 🧪 Running tests ---"
Expand All @@ -34,5 +36,5 @@ view-docs:
update-from-template:
@echo "--- 🔄 Updating from template ---"
@echo "This will update the project from the template, make sure to resolve any .rej files"
cruft update
cruft update --skip-apply-ask

0 comments on commit 017e13d

Please sign in to comment.