Skip to content

Commit dd80fb7

Browse files
author
Bryan Sieber
committed
C0115 missing class docstring--pylint--enabled
1 parent 8badff2 commit dd80fb7

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ testpaths = [
4545
[tool.pylint]
4646
[tool.pylint.'MESSAGES CONTROL']
4747
disable = [
48-
# "C0114", #missing-module-docstring
49-
"C0115", #missing-class-docstring
5048
"C0116", #missing-function-docstring
5149
"C0301", #line-too-long
5250
"R0903", #too-few-public-methods

src/app/environment.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010

1111
class Settings(BaseSettings):
12+
"""
13+
The Settings object extracts environment variables for convenience
14+
"""
15+
1216
host: str = "0.0.0.0"
1317
port: str = "80"
1418
app_reload: bool = True

src/jbi/configuration.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717

1818

1919
class ConfigError(Exception):
20-
pass
20+
"""
21+
Errors used to determine when the Configuration is invalid
22+
"""
2123

2224

2325
class ProcessError(Exception):
24-
pass
26+
"""
27+
Error when an exception occurs during processing
28+
"""
2529

2630

2731
def get_yaml_configurations(

src/jbi/whiteboard_actions/default.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ def init(whiteboard_tag, jira_project_key, **kwargs):
1414

1515

1616
class DefaultExecutor:
17+
"""
18+
Callable class that encapsulates the default action
19+
"""
20+
1721
def __init__(self, **kwargs):
1822
self.parameters = kwargs
1923
self.whiteboard_tag = kwargs.get("whiteboard_tag")

0 commit comments

Comments
 (0)