-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: transfer README.md content to Sphinx
- Loading branch information
1 parent
75e7f69
commit 0151931
Showing
10 changed files
with
321 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. _config: | ||
|
||
Config | ||
====== | ||
|
||
Files that should exist | ||
----------------------- | ||
|
||
To enforce that certain files should exist in the project, you can add them to the style file as a dictionary of "file name" and "extra message". | ||
|
||
Use an empty string to not display any extra message. | ||
|
||
.. code-block:: | ||
[nitpick.files.present] | ||
".editorconfig" = "" | ||
"CHANGELOG.md" = "A project should have a changelog" | ||
Files that should be deleted | ||
---------------------------- | ||
|
||
To enforce that certain files should not exist in the project, you can add them to the style file. | ||
|
||
.. code-block:: | ||
[nitpick.files.absent] | ||
"some_file.txt" = "This is an optional extra string to display after the warning" | ||
"another_file.env" = "" | ||
Multiple files can be configured as above. | ||
The message is optional. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.