-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Nox sessions for running pre-commit and checking
MANIFEST.in
(#…
…2695) * Add Nox sessions: manifest and lint * Add config for check-manifest in pyproject.toml * Update MANIFEST.in * Add docstring for manifest session * Update pre-commit command * Update check-manifest command * Update cffconvert command * Update cff docstring * Updates files/paths for check-manifest to ignore * Edit changelog: 2695.internal.rst * Add -> None * Add check-manifest to CI * Simplify check-manifest ignore list
- Loading branch information
Showing
5 changed files
with
63 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
graft changelog | ||
graft ci_requirements | ||
graft docs | ||
graft licenses | ||
graft src | ||
graft tests | ||
graft tools | ||
graft type_stubs | ||
|
||
include *.ini | ||
include *.ini *.toml *.yaml *.yml | ||
include *.md | ||
include *.py | ||
include *.pyi | ||
include *.rst | ||
include *.txt | ||
include *.yaml | ||
include *.yml | ||
include changelog/README.rst | ||
include .editorconfig | ||
include .git-blame-ignore-revs | ||
include .jupyter/*.py | ||
include binder/requirements.txt | ||
include CITATION.cff | ||
include noxfile.py | ||
include pyproject.toml | ||
include tox.ini | ||
include CODEOWNERS | ||
|
||
global-exclude _build build _version.py | ||
|
||
global-exclude *.o | ||
global-exclude *.py[cod] | ||
|
||
prune docs/api | ||
global-exclude _build build _authors.rst _version.py | ||
global-exclude *.o *.py[cod] | ||
|
||
# Only for editable installs | ||
prune docs/api | ||
prune src/plasmapy/_dev |
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,2 @@ | ||
Added the ``lint`` and ``manifest`` sessions for |Nox| to run |pre-commit| on all files | ||
and verify :file:`MANIFEST.in` with ``check-manifest``, respectively. |
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