Skip to content
Snippets Groups Projects
Commit 99cc44f2 authored by Jan Bernoth's avatar Jan Bernoth
Browse files

#6 add pylint to CI/CD

close #6
parent c9e1711d
No related branches found
No related tags found
No related merge requests found
stages:
- lint
pylint:
image: "python:latest"
stage: lint
script:
- pip install pylint
- pylint src/main.py
\ No newline at end of file
[MESSAGES CONTROL]
disable = too-few-public-methods, too-many-branches, too-many-instance-attributes, import-error
\ No newline at end of file
...@@ -602,9 +602,9 @@ class Plotter: ...@@ -602,9 +602,9 @@ class Plotter:
fig.set_figheight(6.0) fig.set_figheight(6.0)
# plot the plot # plot the plot
boxprops = dict(linestyle='-', facecolor='k', linewidth=3, color='k') boxprops = {'linestyle': '-', 'facecolor': 'k', 'linewidth': 3, 'color': 'k'}
medianprops = dict(linestyle='-', linewidth=3, color='b') medianprops = {'linestyle': '-', 'linewidth': 3, 'color': 'b'}
meanprops = dict(color='b') meanprops = {'color': 'b'}
axes = fig.add_subplot(111) axes = fig.add_subplot(111)
axes.axhspan(4, 7, facecolor='green', alpha=0.2) axes.axhspan(4, 7, facecolor='green', alpha=0.2)
axes.axhspan(1, 4, facecolor='red', alpha=0.2) axes.axhspan(1, 4, facecolor='red', alpha=0.2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment