diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 133eb1b..0aa67dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autoupdate_schedule: monthly repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -14,17 +14,17 @@ repos: - id: mixed-line-ending - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.7' + rev: 'v0.14.10' hooks: - id: ruff args: ['--fix'] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.7 + rev: v0.14.10 hooks: - id: ruff-format - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.3-1 + rev: v4.0.0-alpha.8 hooks: - id: prettier diff --git a/ncar_jobqueue/__init__.py b/ncar_jobqueue/__init__.py index b10c243..f89273d 100644 --- a/ncar_jobqueue/__init__.py +++ b/ncar_jobqueue/__init__.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # flake8: noqa -""" Top-level module for ncar-jobqueue. """ +"""Top-level module for ncar-jobqueue.""" + from pkg_resources import DistributionNotFound, get_distribution from . import config diff --git a/setup.py b/setup.py index 2f975a7..2461738 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,6 @@ """The setup script.""" - from setuptools import find_packages, setup with open('README.md') as f: