Skip to content

Commit

Permalink
Run linters
Browse files Browse the repository at this point in the history
- Run linters on all files and fix warnings
- Add more ignore warning options for flake8
  • Loading branch information
frnmst committed Dec 16, 2022
1 parent d601d4e commit ac7675c
Show file tree
Hide file tree
Showing 17 changed files with 2,836 additions and 1,178 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
# args: ['--no-strict-optional', '--ignore-missing-imports', '--show-error-context', '--show-error-codes', '--follow-imports', 'silent']

- repo: https://github.com/pycqa/isort
rev: '5.10.1'
rev: '5.11.2'
hooks:
- id: isort

Expand Down
29 changes: 17 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

sys.path.insert(0, os.path.abspath('..'))


# -- General configuration ------------------------------------------------

# General information about the project.
Expand All @@ -49,9 +48,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.graphviz',
'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.graphviz',
'sphinx_copybutton'
]

Expand Down Expand Up @@ -127,33 +124,41 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(
master_doc, 'md-toc.tex', 'md-toc Documentation',
'Franco Masotti', 'manual',
master_doc,
'md-toc.tex',
'md-toc Documentation',
'Franco Masotti',
'manual',
),
]


# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(
master_doc, 'md-toc', 'md-toc Documentation',
[author], 1,
master_doc,
'md-toc',
'md-toc Documentation',
[author],
1,
),
]


# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(
master_doc, 'md-toc', 'md-toc Documentation',
author, 'md-toc', 'One line description of project.',
master_doc,
'md-toc',
'md-toc Documentation',
author,
'md-toc',
'One line description of project.',
'Miscellaneous',
),
]
Expand Down
Loading

0 comments on commit ac7675c

Please sign in to comment.