Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/improve code style #658

Merged
merged 37 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5ea7a7f
Apply black
ClaraBuettner Sep 14, 2023
e5db91b
Apply isort
ClaraBuettner Sep 14, 2023
4a9bad7
Add updated files to noxfile
ClaraBuettner Sep 14, 2023
b115f51
Sort list of files alphabetically
ClaraBuettner Sep 14, 2023
b681867
Changes in docstring of run_etrago for flake8
ClaraBuettner Sep 14, 2023
2fe133d
Remove unused import
ClaraBuettner Sep 14, 2023
2287591
Fix flake8 warnings "line too long"
ClaraBuettner Sep 14, 2023
a528398
Fix flake8 E712
ClaraBuettner Sep 14, 2023
81590fb
Fix flake8 error
ClaraBuettner Sep 14, 2023
fa577fc
Apply black
ClaraBuettner Sep 19, 2023
28f5fbd
Remove unused import
ClaraBuettner Sep 19, 2023
4fb21bc
Fix flake8 errors due to comparision with None
ClaraBuettner Sep 19, 2023
8f74ae3
Manual break overly long lines
ClaraBuettner Sep 19, 2023
f7fecf9
Replace comparison with False
ClaraBuettner Sep 19, 2023
87b3d62
Remove empty comments
ClaraBuettner Sep 19, 2023
73bfb63
Exclude saio imports from flaxe8 checks
ClaraBuettner Sep 19, 2023
cbcbd50
Replace unavailable function
ClaraBuettner Sep 19, 2023
5a85f55
Delete unused variable
ClaraBuettner Sep 19, 2023
a0a408f
Fix flaxe8 issues
ClaraBuettner Sep 19, 2023
d493fb9
Break overly long lines
ClaraBuettner Sep 19, 2023
1fb8cfc
Fix number of whitespaces
ClaraBuettner Sep 19, 2023
fc683c5
Black
ClaraBuettner Sep 19, 2023
326906b
Solve flake8 errors
ClaraBuettner Sep 19, 2023
bb76745
Apply black
ClaraBuettner Sep 19, 2023
fef2eed
Fix flake8 errors
ClaraBuettner Sep 19, 2023
c945847
Fix flake8 errors
ClaraBuettner Sep 19, 2023
25372f3
Specify exception
ClaraBuettner Sep 19, 2023
075749a
Apply black
ClaraBuettner Sep 19, 2023
90785d5
Remove unused imports
ClaraBuettner Sep 19, 2023
3c96c01
Fix flake8 errors
ClaraBuettner Sep 19, 2023
e64585a
Fix flake8 error
ClaraBuettner Sep 19, 2023
f0a8141
Exclude appl.py from noxfile
ClaraBuettner Sep 19, 2023
76a0c69
Temporary exclude E722 and W605 from flake8 checks
ClaraBuettner Sep 19, 2023
dc09191
Apply black
ClaraBuettner Sep 19, 2023
a6634a6
Apply isort
ClaraBuettner Sep 19, 2023
55ba752
Fix comparisions to None and True
ClaraBuettner Sep 20, 2023
cefa07a
Merge branch 'dev' into features/improve-code-style
ClaraBuettner Sep 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'dev' into features/improve-code-style
  • Loading branch information
ClaraBuettner committed Sep 26, 2023
commit cefa07a18a1e294ddae251acac99fdf7465f9a52
1 change: 1 addition & 0 deletions etrago/tools/calc_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
def _calc_storage_expansion(self):
"""Function that calulates storage expansion in MW


Returns
-------
float
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"etrago/cluster/gas.py",
"etrago/cluster/snapshot.py",
"etrago/cluster/spatial.py",
"etrago/tools/calc_results.py",
"etrago/tools/execute.py",
"etrago/tools/extendable.py",
"etrago/tools/io.py",
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.