Skip to content

Commit

Permalink
isort/black compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Hamman committed Aug 4, 2020
1 parent 10431ef commit 04f3d85
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[settings]
known_first_party=skdownscale
known_third_party = click,matplotlib,numpy,pandas,pkg_resources,probscale,pytest,scipy,seaborn,setuptools,sklearn,xarray,xsd
multi_line_output=3
include_trailing_comma=True
line_length=100
4 changes: 3 additions & 1 deletion examples/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def zscore_ds_plot(training, target, future, corrected):
plt.plot(time_target, target.uas, label='target', alpha=alpha, c=colors['target'])

plt.plot(time_future, future.uas, label='future', alpha=alpha, c=colors['future'])
plt.plot(time_future, corrected.uas, label='corrected', alpha=alpha, c=colors['corrected'])
plt.plot(
time_future, corrected.uas, label='corrected', alpha=alpha, c=colors['corrected'],
)

plt.xlabel('Time')
plt.ylabel('Eastward Near-Surface Wind (m s-1)')
Expand Down
20 changes: 7 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@ setup_requires =
setuptools_scm

[flake8]
exclude = docs
ignore = E203,E266,E501,W503,F401,E722,E402,C901
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
exclude=docs
ignore=E203,E266,E501,W503,F401,E722,E402,C901
max-line-length=100
max-complexity=18
select=B,C,E,F,W,T4,B9

[isort]
default_section=THIRDPARTY
known_first_party=skdownscale
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
[tool.black]
line-length=100

0 comments on commit 04f3d85

Please sign in to comment.