diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9d91cf..ef89ef0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,11 +10,9 @@ jobs: strategy: fail-fast: false matrix: - tox_env: ["py36", "py37", "py38", "py39", "py310"] + tox_env: ["py37", "py38", "py39", "py310"] os: [ubuntu-latest, windows-latest] include: - - tox_env: "py36" - python: "3.6" - tox_env: "py37" python: "3.7" - tox_env: "py38" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8e95c0..d48c183 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_language_version: - python: python3.6 + python: python3.7 repos: - repo: https://github.com/psf/black rev: 22.1.0 @@ -11,6 +11,11 @@ repos: hooks: - id: trailing-whitespace - id: end-of-file-fixer + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.931 + hooks: + - id: mypy + additional_dependencies: [types-PyYAML] - repo: local hooks: - id: rst diff --git a/docs/conf.py b/docs/conf.py index 84d1973..d001559 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,7 @@ import sys import os +from typing import Dict # If extensions (or modules to document with autodoc) are in another # directory, add these directories to sys.path here. If the directory is @@ -193,7 +194,7 @@ # -- Options for LaTeX output ------------------------------------------ -latex_elements = { +latex_elements: Dict[str, str] = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). diff --git a/setup.py b/setup.py index 86cf5a9..3605d4e 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,6 @@ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",