Skip to content

Commit

Permalink
chore: Switch to markdownlint-cli
Browse files Browse the repository at this point in the history
Easier to configure
  • Loading branch information
ekampf committed Dec 18, 2024
1 parent e7fd65d commit 4468f96
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Default state for all rules
default: true

# MD013/line-length - Line length
MD013:
line_length: 120
tables: false
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ repos:
- id: shfmt-docker
files: ^\.envrc|.*\.sh$

- repo: https://github.com/markdownlint/markdownlint
rev: v0.12.0
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
hooks:
- id: markdownlint
args: ["--fix"]
exclude: >
(?x)^(
.github/pull_request_template.md|
Expand Down
20 changes: 10 additions & 10 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ tags:
### Production Releases

* Run `./scripts/release.sh`:
* Calculate new version based on conventional commits
* Update version in `pyproject.toml`
* Update `CHANGELOG.md`
* Create a tag for the version and commit
* Calculate new version based on conventional commits
* Update version in `pyproject.toml`
* Update `CHANGELOG.md`
* Create a tag for the version and commit
* Once pushed a Github workflow will
* Create a Github release
* Publish the following tags to dockerhub:
* `latest`
* `<major>`
* `<major>.<minor>`
* `<major>.<minor>.<patch>`
* Create a Github release
* Publish the following tags to dockerhub:
* `latest`
* `<major>`
* `<major>.<minor>`
* `<major>.<minor>.<patch>`

0 comments on commit 4468f96

Please sign in to comment.