diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e849609b7dc58a2615353cc594f3dd1cf743d8e..11cc3049ed15c86b247275f4d2a96fd5590b7070 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,10 @@ +default_language_version: + python: python3 repos: - repo: https://github.com/ambv/black rev: 21.6b0 hooks: - id: black - language_version: python3.6 - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: diff --git a/LICENSE.rst b/LICENSE.rst index fbeca6d09567375f1bd12a6036c7a2b140f5eb2e..5f8b4edff863e691e6c40ffb30facb001bb4d7ea 100644 --- a/LICENSE.rst +++ b/LICENSE.rst @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020, Daniel Böckenhoff +Copyright (c) 2021, Daniel Böckenhoff Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/installation.rst b/docs/installation.rst index 2a14f75398b2e66819a6db0e7152c8e072e56bc7..4fbc5858ba725b89e350ae1e88d6b17149f827cd 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -23,6 +23,7 @@ you through the process. .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/ + From sources ------------ diff --git a/setup.cfg b/setup.cfg index 1ed960f5b3af8c4835b6ac308ffd5b6cbbbd6437..9f80891fcf43daccfebb91ba4dad295dcd278d74 100644 --- a/setup.cfg +++ b/setup.cfg @@ -108,6 +108,8 @@ max-line-length = 99 doctests = True exclude = .git, .eggs, __pycache__, docs, dist, venv, .tox ignore = E203 W503 W504 # wrong flake defaults: see https://github.com/psf/black/issues/315, https://github.com/psf/black/issues/43 +per-file-ignores = + __init__.py: F401 [pylint.] ignore = setup.py