Skip to content

Commit 4e5ba66

Browse files
authored
Merge pull request #475 from GeneCodeSavvy/unnecessary-pass
Unnecessary pass
2 parents b75615e + 0b848c7 commit 4e5ba66

4 files changed

Lines changed: 0 additions & 5 deletions

File tree

sbol3/error.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
class Error(Exception):
33
"""Base class for exceptions in this module."""
4-
pass
54

65

76
class SBOLError(Error):

sbol3/property_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def item_added(self, item: Any) -> None:
5555
any additional processing on items after they are added. This method
5656
will be called on each individual item that was added to the list.
5757
"""
58-
pass
5958

6059
@property
6160
def attribute_name(self) -> Union[str, None]:

sbol3/validation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ class ValidationError(ValidationIssue):
2626
"""A ValidationError is a violation of the SBOL specification.
2727
"""
2828
# All functionality is in the base class
29-
pass
3029

3130

3231
class ValidationWarning(ValidationIssue):
3332
"""A ValidationWarning is a violation of an SBOL best practice.
3433
"""
3534
# All functionality is in the base class
36-
pass
3735

3836

3937
class ValidationReport:

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ disable = abstract-class-instantiated,
3636
too-many-positional-arguments,
3737
too-many-public-methods,
3838
undefined-variable,
39-
unnecessary-pass,
4039
unused-argument,
4140
unused-import,
4241
unused-wildcard-import,

0 commit comments

Comments
 (0)