-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: apply changes to setup.cfg (#288)
* feat: apply values on setup.cfg (preserving comments) * feat: apply missing values to a comma separated list * feat: apply missing sections * feat: apply missing key/value pairs * feat: apply initial contents * refactor: plugin entry point * refactor: post initialisation hook * build: pylint before pre-commit * refactor: add "fixed" boolean flag to Fuss * refactor: rename FileData to FileInfo * refactor: rename file_dict to expected_config * test: compare Fuss objects as dicts * test: if the default style is applied on setup.cfg * test: mark xfail on Windows * feat: flag to configure if the plugin can use the "apply mode" * refactor: reduce complexity of compare_different_keys() * refactor: reduce complexity of enforce_rules() * refactor: rename violation constants * test: move conftest.py module imports locally inside the function
- Loading branch information
1 parent
4b79f81
commit f878630
Showing
27 changed files
with
641 additions
and
386 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
4 changes: 2 additions & 2 deletions
4
docs/source/nitpick.plugins.data.rst → docs/source/nitpick.plugins.info.rst
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,7 +1,7 @@ | ||
nitpick.plugins.data module | ||
nitpick.plugins.info module | ||
=========================== | ||
|
||
.. automodule:: nitpick.plugins.data | ||
.. automodule:: nitpick.plugins.info | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.