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
b1fcfc02
Unverified
Commit
b1fcfc02
authored
Apr 16, 2023
by
Martin Miglio
Committed by
GitHub
Apr 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pre-commit matches pyproject.toml in subdirs (#7242)
parent
99f106c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
.pre-commit-hooks.yaml
+1
-1
docs/pre-commit-hooks.md
+3
-0
No files found.
.pre-commit-hooks.yaml
View file @
b1fcfc02
...
...
@@ -5,7 +5,7 @@
language
:
python
language_version
:
python3
pass_filenames
:
false
files
:
^pyproject.toml$
files
:
^
(.*/)?
pyproject.toml$
-
id
:
poetry-lock
name
:
poetry-lock
...
...
docs/pre-commit-hooks.md
View file @
b1fcfc02
...
...
@@ -34,6 +34,9 @@ to make sure the poetry configuration does not get committed in a broken state.
The hook takes the same arguments as the poetry command.
For more information see the
[
check command
](
{{
<
relref
"
cli
#
check
"
>
}}).
{{% note %}}
If the
`pyproject.toml`
file is not in the root directory, you can specify
`args: ["-C", "./subdirectory"]`
.
{{% /note %}}
## poetry-lock
...
...
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