Skip to content

Commit

Permalink
manual fixes for rule F
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Oct 18, 2024
1 parent d0de8a9 commit ed26e48
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions alphastats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
}

# TODO get rid of these imports
import alphastats.gui
import alphastats.gui # noqa: F401

from .cli import *
from .loader.AlphaPeptLoader import *
from .loader.DIANNLoader import *
from .loader.FragPipeLoader import *
from .loader.MaxQuantLoader import *
from .loader.SpectronautLoader import *
from .cli import * # noqa: F403
from .loader.AlphaPeptLoader import * # noqa: F403
from .loader.DIANNLoader import * # noqa: F403
from .loader.FragPipeLoader import * # noqa: F403
from .loader.MaxQuantLoader import * # noqa: F403
from .loader.SpectronautLoader import * # noqa: F403
2 changes: 1 addition & 1 deletion alphastats/gui/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .gui import run
from .gui import run # noqa: F401 TODO: check if necessary
4 changes: 2 additions & 2 deletions alphastats/load_data.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from alphastats import MaxQuantLoader
from alphastats.loader.AlphaPeptLoader import AlphaPeptLoader
from alphastats.loader.DIANNLoader import DIANNLoader
from alphastats.loader.FragPipeLoader import FragPipeLoader
from alphastats.loader.MaxQuantLoader import *


# TODO: Currenlty only used by tests, but should maybe be used more widely
# TODO: Currently only used by tests, but should maybe be used more widely
def load_data(file, type, **kwargs):
type = type.lower()
if type == "maxquant":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extend-exclude = [".bumpversion.cfg", ".secrets.baseline"]
# # pycodestyle
# "E",
# # Pyflakes
# "F",
"F",
# pyupgrade
"UP",
# # flake8-bugbear
Expand Down
2 changes: 1 addition & 1 deletion release/pyinstaller/alphastats_pyinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
try:
import multiprocessing

import alphastats
import alphastats # noqa: F401 TODO check if this can be removed

multiprocessing.freeze_support()

Expand Down

0 comments on commit ed26e48

Please sign in to comment.