Skip to content

Commit e70c1e4

Browse files
authored
fix: hydra slayer support (#13)
* fix: hydra-slayer added to list of catalyst's projects * fix: update comma_separated_values fields in styles
1 parent 452141d commit e70c1e4

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

bin/catalyst-codestyle-isort

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e # o pipefail -v
55

66
# Force isort to recognize modules as being part of the current python project.
77
# Defaults to modules of catalyst ecosystem.
8-
PROJECT=${PROJECT:="catalyst,catalyst_codestyle,catalyst_rl,alchemy,reaction"}
8+
PROJECT=${PROJECT:="catalyst,catalyst_codestyle,catalyst_rl,alchemy,reaction,hydra_slayer"}
99

1010
# The max length of an import line (used for wrapping long imports).
1111
# Defaults to 99 chars, suggested by PEP.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Package meta-data.
1515
NAME = "catalyst-codestyle"
16-
VERSION = "21.06rc1"
16+
VERSION = "21.07rc0"
1717
DESCRIPTION = "Catalyst.Codestyle"
1818
URL = "https://github.com/catalyst-team/codestyle"
1919
EMAIL = "scitator@gmail.com"

styles/flake8.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ ignore_regex = "^_(.*)"
2020
class_attributes_order = "field,meta_class,nested_class,magic_method,property_method,static_method,private_method,method,class_method"
2121

2222
[nitpick.files."setup.cfg"]
23-
comma_separated_values = ["flake8.ignore","class_attributes_order"]
23+
comma_separated_values = ["flake8.ignore", "flake8.class_attributes_order"]

styles/isort.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ include_trailing_comma = true
2424
use_parentheses = true
2525

2626
[nitpick.files."setup.cfg"]
27-
comma_separated_values = ["isort.no_lines_before","sections"]
27+
comma_separated_values = ["isort.no_lines_before", "isort.sections"]

styles/nitpick-style-catalyst.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# `catalyst` style file for nitpick
2+
# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.18.0/nitpick-style.toml
23

34
[nitpick]
45
minimum_version = "0.22.0"

0 commit comments

Comments
 (0)