Skip to content

Commit

Permalink
Update prettier (#1890)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Dec 3, 2024
1 parent c2a596b commit 0e092c0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 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,7 +203,8 @@ 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
4 changes: 2 additions & 2 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/pycontribs/mirrors-prettier
rev: "v3.3.3"
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.4.1"
hooks:
- id: prettier
# Original hook implementation is flaky due to *several* bugs described
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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ commands =

[testenv:lint]
description = Enforce quality standards under {basepython} ({envpython})
install_command = pip install {opts} {packages}
commands =
# pre-commit prettier might fix the generated schema file, but that is fine
sh -c "ansible-navigator --ee false settings --schema json > src/ansible_navigator/data/ansible-navigator.json"
Expand All @@ -105,6 +104,7 @@ commands =
--all-files}
deps =
pre-commit
pre-commit-uv
--editable .
setenv =
# NOTE: Although stage=manual hooks are included in the above
Expand Down

0 comments on commit 0e092c0

Please sign in to comment.