Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
8437d541
Unverified
Commit
8437d541
authored
Jul 07, 2023
by
Micael Jarniac
Committed by
GitHub
Jul 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(pre-commit): fix pre-commit YAML style (#8146)
parent
d31dfa83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/pre-commit-hooks.md
+3
-3
No files found.
docs/pre-commit-hooks.md
View file @
8437d541
...
@@ -71,7 +71,7 @@ console:
...
@@ -71,7 +71,7 @@ console:
```
yaml
```
yaml
hooks
:
hooks
:
-
id
:
poetry-export
-
id
:
poetry-export
args
:
[
"
-f"
,
"
requirements.txt"
]
args
:
[
"
-f"
,
"
requirements.txt"
]
verbose
:
true
verbose
:
true
```
```
...
@@ -80,7 +80,7 @@ Also, `--dev` can be added to `args` to write dev-dependencies to `requirements.
...
@@ -80,7 +80,7 @@ Also, `--dev` can be added to `args` to write dev-dependencies to `requirements.
```
yaml
```
yaml
hooks
:
hooks
:
-
id
:
poetry-export
-
id
:
poetry-export
args
:
[
"
--dev"
,
"
-f"
,
"
requirements.txt"
,
"
-o"
,
"
requirements.txt"
]
args
:
[
"
--dev"
,
"
-f"
,
"
requirements.txt"
,
"
-o"
,
"
requirements.txt"
]
```
```
...
@@ -93,7 +93,7 @@ A full `.pre-commit-config.yaml` example:
...
@@ -93,7 +93,7 @@ A full `.pre-commit-config.yaml` example:
```
yaml
```
yaml
repos
:
repos
:
-
repo
:
https://github.com/python-poetry/poetry
-
repo
:
https://github.com/python-poetry/poetry
rev
:
'
'
# add version here
rev
:
'
'
# add version here
hooks
:
hooks
:
-
id
:
poetry-check
-
id
:
poetry-check
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment