Skip to content

Commit

Permalink
Switch to maintained prettier hook fork
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jun 3, 2024
1 parent 85adec1 commit 1376305
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
11 changes: 5 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ Prerequisites:
### Building from the source and installing packages for testing

After cloning the repository, create and activate a new [virtual environment] in
the root of the repository. Once that is done all we need is to install
ansible-navigator from the source. Use the following command in workspace (root
folder of navigator).This will install package in editable/development mode,
along with its additional dependencies required for testing.
the root of the repository. Once that is done all we need is to install ansible-navigator
from the source. Use the following command in workspace (root folder of navigator).This
will install package in editable/development mode, along with its additional dependencies
required for testing.

```shell-session
pip install -e .\[test]
Expand Down Expand Up @@ -203,8 +203,7 @@ modify accordingly if needed.
### Useful Links

- VS code debugging [guide].
- Facilitate [Python Debugger] (pdb) in navigator for pure command line
debugging.
- Facilitate [Python Debugger] (pdb) in navigator for pure command line debugging.

[guide]: https://code.visualstudio.com/docs/editor/debugging
[python debugger]: https://www.geeksforgeeks.org/python-debugger-python-pdb/
Expand Down
4 changes: 2 additions & 2 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ main branch and making the next patch release in the stream.
## Reporting a Vulnerability

We encourage responsible disclosure practices for security vulnerabilities.
Please read our [policies for reporting bugs] [bug reports policy] if you want
to report a security issue that might affect Ansible.
Please read our [policies for reporting bugs] [bug reports policy] if you want to
report a security issue that might affect Ansible.

[bug reports policy]:
https://docs.ansible.com/ansible/devel/community/reporting_bugs_and_features.html#reporting-a-bug
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ exclude: >
.tox
)$
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
- repo: https://github.com/pycontribs/mirrors-prettier
rev: "v3.3.0"
hooks:
- id: prettier
# Original hook implementation is flaky due to *several* bugs described
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
- id: toml-sort-fix

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.5"
rev: "v0.4.7"
hooks:
- id: ruff
args:
Expand Down Expand Up @@ -143,7 +143,7 @@ repos:
- flake8-docstrings # uses pydocstyle

- repo: https://github.com/jsh9/pydoclint
rev: 0.4.1
rev: 0.4.2
hooks:
- id: pydoclint
args:
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@
sudo apt-get install podman
```

- Follow the [Docker Desktop for Windows] installation instructions (if podman
was not installed above)
- Follow the [Docker Desktop for Windows] installation instructions (if podman was
not installed above)

- Be sure to complete the [Manage Docker as a non-root user] steps.

Expand Down

0 comments on commit 1376305

Please sign in to comment.