Skip to content

Commit

Permalink
Remove flake8-black (ICB-DCM#1303)
Browse files Browse the repository at this point in the history
* Remove flake8-black due to no updates and running black separately already.

* Solved B038 error on flake8

* Added to CHANGELOG.rst

* Updated Changelog
  • Loading branch information
PaulJonasJost authored Feb 5, 2024
1 parent 3b409a5 commit f46ca20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Release notes
-------------------

* General
* Stabilize tests (#1240, #1254, #1300, #1302)
* Stabilize tests (#1240, #1254, #1300, #1302, #1303)
* Update type annotations and documentations (#1239, #1248, #1255, #1258, #1251, #1268, #1275)
* GHA/Codeowner changes (#1260, #1261, #1259, #1262, #1285)
* Update utility functions (#1243)
Expand All @@ -25,6 +25,7 @@ Release notes
* Select
* Allow for hierarchical problems (#1241)
* custom minimize method (#1264)
* Set estimated parameters in petab_select.Models (#1287)
* Hierarchical
* Log space startpoint sampling (#1242)
* Support for box constraints on offset and scaling parameters (#1238)
Expand Down
8 changes: 4 additions & 4 deletions pypesto/visualize/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,15 +493,15 @@ def process_profile_indices(

# get the profiles, which should be plotted and sanitize, if not plottable
if profile_indices is None:
profile_indices = list(plottable_indices)
profile_indices_ret = list(plottable_indices)
else:
profile_indices_ret = list(profile_indices)
for ind in profile_indices:
if ind not in plottable_indices:
profile_indices = list(profile_indices)
profile_indices.remove(ind)
profile_indices_ret.remove(ind)
warn(
'Requested to plot profile for parameter index %i, '
'but profile has not been computed.' % ind
)

return profile_indices
return profile_indices_ret
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ deps =
flake8-colors >= 0.1.9
flake8-comprehensions >= 3.10.0
flake8-print >= 5.0.0
flake8-black >= 0.3.3
flake8-isort >= 4.0.2
flake8-docstrings >= 1.6.0
commands =
Expand Down

0 comments on commit f46ca20

Please sign in to comment.