Skip to content

Commit 2b8adba

Browse files
committed
Cleaned up flake8
1 parent adba388 commit 2b8adba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

solc/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class CompileError(Exception):
77

88

99
class ContractsNotFound(Exception):
10-
"""No contracts was found in the target folder."""
10+
"""No contracts was found in the target folder."""

solc/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _parse_compiler_output(stdoutdata):
4343

4444
output = json.loads(stdoutdata)
4545

46-
if not "contracts" in output:
46+
if "contracts" not in output:
4747
# {'sources': {}, 'version': 'xxx'}
4848
# solc did not pick up any contracts
4949
raise ContractsNotFound(output)

0 commit comments

Comments
 (0)