Skip to content

Commit e0f5325

Browse files
committed
Add setup.cfg
1 parent c51d1a4 commit e0f5325

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
3131
- name: Lint with flake8, black, isort, pydocstyle
3232
run: |
33-
flake8 bashplot/ --count --max-line-length=88 --ignore=W293,W291 --statistic
33+
flake8 bashplot/ --count --statistic
3434
black . --check -v
3535
isort . --check -v
3636
flake8 . --count --exit-zero --max-complexity=10 --statistics

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ steps:
3232
displayName: 'Install dependencies'
3333

3434
- script: |
35-
flake8 bashplot/ --count --max-line-length=88 --ignore=W293,W291 --statistic
35+
flake8 bashplot/ --count --statistic
3636
black . --check -v
3737
isort . --check -v
3838
flake8 . --count --exit-zero --max-complexity=10 --statistics

bashplot/bashplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def plot_plot(fig, x, Y, label):
9595
def plot_scatter(fig, x, Y, label):
9696
"""Make the scatter-figures.
9797
98-
plot_scatter() is generating a single- or multi-plot by recursiving calling
98+
plot_scatter() is generating a single- or multi-plot by recursive calling
9999
scatter().
100100
101101
Parameters

setup.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore = E203, W503, W293, W291
4+
5+
[tool.isort]
6+
multi_line_output = 3
7+
include_trailing_comma = true
8+
force_grid_wrap = 0
9+
use_parentheses = true
10+
ensure_newline_before_comments = true
11+
line_length = 88
12+
13+
[pylint]
14+
max-line-length = 88
15+
16+
[pylint.messages_control]
17+
disable = C0330, C0326

0 commit comments

Comments
 (0)