Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.py[cod]
.hypothesis
.mypy_cache

# doc builds
Expand Down
25 changes: 23 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,37 @@ repos:
args: [--in-place, --remove-all-unused-imports, --remove-unused-variable, --ignore-init-module-imports]

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
args: [--line-length, '120']

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
hooks:
- id: mypy
additional_dependencies:
- jinja2
- numpy
- pymongo-stubs
- ruamel.yaml
- types-flask
- types-paramiko
- types-prettytable
- types-python-dateutil
- types-pyyaml
- types-requests
- types-setuptools
- types-six
- types-tabulate
- types-tqdm
args: []

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
Expand Down
3 changes: 2 additions & 1 deletion docs_rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import os
import sys
from typing import Mapping

if sys.version_info < (3, 8):
import importlib_metadata as metadata
Expand Down Expand Up @@ -185,7 +186,7 @@

# -- Options for LaTeX output --------------------------------------------------

latex_elements = {
latex_elements: Mapping[str, str] = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
Expand Down
Loading