Skip to content

Commit

Permalink
Avoid using docker_image pre-commit hook (portability)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jun 17, 2024
1 parent c6b6ef1 commit eb0d248
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ The only supported version is the latest release.

## Reporting a Vulnerability

Send an email to [email protected] if you found any security
vulnerability that is better to not have a public bug raise right away.
Use [github reporting](https://github.com/pycontribs/mk/security) if you
found any security vulnerability that is better to not have a public bug raised
right away.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ report.html
site
src/mk.egg-info
src/mk/_version.py
.coverage
.coverage*
coverage.xml
CMakeFiles
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ repos:
# entry: codespell --relative
args: [--relative, --no-progress, --no-summary]
name: Spell check with cspell

- repo: https://github.com/markdownlint/markdownlint.git
rev: v0.12.0
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint_docker
- id: markdownlint
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
Expand Down
9 changes: 5 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ configuration file is needed as the tool will look for common tools used by the
repository and expose their commands.

`mk` is inspired by tools such [make][make], [waf][waf], [taskfile][taskfile],
[tox][tox], [npm][npm], [yarn][yarn] and [pre-commit][pre-commit], but **it does
not aim to replace them**. Instead, it aims to provide a unified interface for
calling them that is friendly even for those that never used these tools.
[tox][tox], [nox][nox], [npm][npm], [yarn][yarn] and [pre-commit][pre-commit],
but **it does not aim to replace them**. Instead, it aims to provide a unified
interface for calling them that is friendly even for those that never used
these tools.

## Installation

Expand Down Expand Up @@ -101,7 +102,7 @@ status or that the testing did not leave untracked files.
unknown. (#20)
- Configuration file where additional actions can be added. (#21)
- Dependencies between commands. While some tools support dependencies, many do
not. You should be able to declare that a specific command would run only
not. You should be able to declare that a specific command will run only
after another one already passed. (#22)
- Ability to generate CI/CD pipelines so the user would spend less time writing
non-portable configurations. (#23)
Expand Down

0 comments on commit eb0d248

Please sign in to comment.