Skip to content

Commit

Permalink
cleanup legacy flake
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorvaladi committed Mar 25, 2024
1 parent 7bab8a8 commit ffd4de8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
htmlhelp_basename = "fedndocs"

# If defined shows an image instead of project name on page top-left (link to index page)
# html_logo = '' # FEDn logo looks ugly on rtd theme # noqa: ERA001
# html_logo = '' # FEDn logo looks ugly on rtd theme

# Here we assume that the file is at _static/custom.css
html_css_files = []
Expand All @@ -60,16 +60,16 @@
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper', # noqa: ERA001
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt', # noqa: ERA001
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '', # noqa: ERA001
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp', # noqa: ERA001
# 'figure_align': 'htbp',
}

# Grouping the document tree into LaTeX files. List of tuples
Expand Down
2 changes: 0 additions & 2 deletions fedn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"""The fedn package."""

# flake8: noqa
5 changes: 2 additions & 3 deletions fedn/fedn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@


modules = glob.glob(dirname(__file__) + "/*.py")
__all__ = [basename(f)[:-3] for f in modules if isfile(f)
and not f.endswith('__init__.py')]
__all__ = [basename(f)[:-3] for f in modules if isfile(f) and not f.endswith("__init__.py")]


_ROOT = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -21,4 +20,4 @@ def get_data(path):
:param path:
:return:
"""
return os.path.join(_ROOT, 'data', path)
return os.path.join(_ROOT, "data", path)
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

0 comments on commit ffd4de8

Please sign in to comment.