Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #9

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
repos:

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.8.0
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.12.6
- pep8-naming==0.13.3

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
args: [--min-py3-version=3.6]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-toml
Expand All @@ -33,7 +33,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
1 change: 1 addition & 0 deletions casement/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Each node in the tree is called a key.
Each key can contain both subkeys and data entries called values.
"""

import six
from six.moves import winreg

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url = https://github.com/blurstudio/casement
author = Blur Studio
author_email = [email protected]
license = LGPL-3.0
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Environment :: Console
Expand All @@ -18,8 +18,8 @@ classifiers =
Operating System :: Microsoft :: Windows :: Windows 7
Operating System :: Microsoft :: Windows :: Windows 10
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
platform = any
Expand All @@ -33,7 +33,7 @@ install_requires =
pywin32
six
winshell>=0.6
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
python_requires = >=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
include_package_data = True
setup_requires =
setuptools
Expand Down
1 change: 1 addition & 0 deletions tests/test_env_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Note: See test_registry.py to see how testing registry keys/entries are handled.
"""

from __future__ import absolute_import

import os
Expand Down
1 change: 1 addition & 0 deletions tests/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Note: See test_env_var.py to see how testing Environment variables are handled.
"""

# TODO: Look into using a custom testing registry hive to handle all testing
# without the need for the host to actually have these registry keys. We should
# only enable testing of registry modifications once this is resolved.
Expand Down
Loading