-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD: initial version of pylint static code checker
- Loading branch information
1 parent
fa7c005
commit 1fccf86
Showing
9 changed files
with
64 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[FORMAT] | ||
max-line-length=240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"""Provides module specific constants.""" | ||
|
||
import os | ||
|
||
BASEDIR = os.path.abspath(os.path.dirname(__file__)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,25 @@ | ||
class MultiSSHerException(Exception): | ||
"""Generic exception for MultiSSHer""" | ||
"""Provides module specific exceptions.""" | ||
|
||
|
||
pass | ||
class MultiSSHerException(Exception): | ||
"""Generic exception for MultiSSHer.""" | ||
|
||
|
||
class MultiSSHerNotSupported(Exception): | ||
"""Exception for non supported features""" | ||
|
||
pass | ||
"""Exception for non supported features.""" | ||
|
||
|
||
class MultiSSHerCreateClient(Exception): | ||
"""MultiSSHer was not able to create SSH client""" | ||
|
||
pass | ||
"""MultiSSHer was not able to create SSH client.""" | ||
|
||
|
||
class YAMLGenericException(Exception): | ||
"""MultiSSHer YAML validation error""" | ||
|
||
pass | ||
"""MultiSSHer YAML validation error.""" | ||
|
||
|
||
class YAMLValidationError(Exception): | ||
"""MultiSSHer YAML validation error""" | ||
|
||
pass | ||
"""MultiSSHer YAML validation error.""" | ||
|
||
|
||
class YAMLConfigExists(Exception): | ||
"""MultiSSHer YAML already exists error""" | ||
|
||
pass | ||
"""MultiSSHer YAML already exists error.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ pytest-docker==3.1.1 | |
docker==7.1.0 | ||
pre-commit==4.0.1 | ||
bandit==1.8.0 | ||
pylint==3.3.3 |