diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 550c2f9..81d28fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v5.0.0 hooks: - id: check-case-conflict - id: check-merge-conflict @@ -12,15 +12,15 @@ repos: - id: check-yaml - id: requirements-txt-fixer - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.5.1 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py38-plus] @@ -34,21 +34,21 @@ repos: ## - isort ## === ## - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 24.10.0 hooks: - id: black # black-jupyter ## >>> black and isort ## - repo: https://github.com/PyCQA/bandit - rev: 1.7.2 + rev: 1.8.0 hooks: - id: bandit args: [--recursive, --quiet] - - repo: https://gitlab.com/PyCQA/flake8 - rev: 3.9.2 + - repo: https://github.com/PyCQA/flake8 + rev: 7.1.1 hooks: - id: flake8 # E***, W***, F*** additional_dependencies: diff --git a/setup.cfg b/setup.cfg index a0ffd88..42a4238 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,6 @@ url = https://github.com/lcnittl/DMFO author = Christian Knittl-Frank author_email = lcnittl@gmail.com license = GPL-3.0 -license_file = LICENSE license_files = LICENSE classifiers = Development Status :: 3 - Alpha @@ -18,9 +17,6 @@ classifiers = Operating System :: Microsoft :: Windows :: Windows 10 Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 Topic :: Utilities download_url = http://pypi.python.org/pypi/DMFO project_urls = @@ -32,7 +28,7 @@ packages = find: install_requires = colorlog>=4.1.0 pywin32>=228 -python_requires = >=3.8 +python_requires = >=3.9 include_package_data = True package_dir = = src diff --git a/src/dmfo/constants/mso/__init__.py b/src/dmfo/constants/mso/__init__.py index e564aaa..d894ca2 100644 --- a/src/dmfo/constants/mso/__init__.py +++ b/src/dmfo/constants/mso/__init__.py @@ -12,6 +12,7 @@ del ModuleInfo del _ """ + """ from pathlib import Path