Skip to content

Commit

Permalink
fix: ignore_regex moved to darglint section (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
bagxi committed Sep 16, 2021
1 parent 8f91b06 commit f330a51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ docstring-quotes = double
convention = google
docstring_style = google
strictness = short

[darglint]
ignore_regex = ^_(.*)

[isort]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Package meta-data.
NAME = "catalyst-codestyle"
VERSION = "21.09"
VERSION = "21.09.1"
DESCRIPTION = "Catalyst.Codestyle"
URL = "https://github.com/catalyst-team/codestyle"
EMAIL = "[email protected]"
Expand Down
4 changes: 3 additions & 1 deletion styles/flake8.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ docstring-quotes = "double"
convention = "google"
docstring_style = "google"
strictness = "short"

["setup.cfg".darglint]
ignore_regex = "^_(.*)"

[nitpick.files."setup.cfg"]
comma_separated_values = ["flake8.ignore", "flake8.class_attributes_order"]
comma_separated_values = ["flake8.ignore"]

0 comments on commit f330a51

Please sign in to comment.