File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,11 @@ def is_supported(target: str, **kwargs: str) -> bool:
98
98
return False
99
99
# < 1.1.0: brownie-config.json
100
100
# >= 1.1.0: brownie-config.yaml
101
- return os .path .isfile (os .path .join (target , "brownie-config.json" )) or os .path .isfile (
102
- os .path .join (target , "brownie-config.yaml" )
103
- ) or os .path .isfile (os .path .join (target , "brownie-config.yml" ))
101
+ return (
102
+ os .path .isfile (os .path .join (target , "brownie-config.json" ))
103
+ or os .path .isfile (os .path .join (target , "brownie-config.yaml" ))
104
+ or os .path .isfile (os .path .join (target , "brownie-config.yml" ))
105
+ )
104
106
105
107
def is_dependency (self , _path : str ) -> bool :
106
108
"""Check if the path is a dependency (not supported for brownie)
You can’t perform that action at this time.
0 commit comments