Skip to content
Open
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
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
Expand All @@ -12,32 +12,32 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://opendev.org/openstack/bashate.git
rev: 2.0.0
rev: 2.1.1
hooks:
- id: bashate
args: [--max-line-length=100]
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
rev: v1.32.0
hooks:
- id: yamllint
- repo: https://github.com/python/black
rev: 21.7b0
rev: 23.3.0
hooks:
- id: black
language_version: python3
args: [--line-length=100]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-black
- repo: https://github.com/PyCQA/doc8
rev: 0.9.0
- repo: https://github.com/pycqa/doc8
rev: v1.1.1
hooks:
- id: doc8
args: [--max-line-length=100]
- repo: https://github.com/myint/rstcheck
rev: 3f92957478422df87bd730abde66f089cc1ee19b
rev: v6.1.2
hooks:
- id: rstcheck
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import setuptools
from setuptools.command.egg_info import egg_info

# https://github.com/buildroot/buildroot/releases/tag/2021.08-rc2
BUILDROOT_VERSION = "6da42d767a42e8e95b1ba042fbe99c3c8de13f28"
# https://github.com/buildroot/buildroot/releases/tag/2023.05
BUILDROOT_VERSION = "dbb0b4274cdbd74cf22fb4da4c1e43084f3d3125"


class egg_info_extra(egg_info):
Expand All @@ -18,7 +18,10 @@ def run(self):
description="Buildroot utils packaged as Python package",
python_requires=">=3.6,<4.0",
packages=["checkpackagelib"],
install_requires=["six<2.0"],
install_requires=[
"flake8<7.0",
"python-magic<1.0",
],
use_scm_version=True,
setup_requires=["setuptools_scm"],
scripts=[
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ commands =
[testenv:pre-commit]
passenv = *_proxy
skip_install = true
deps = pre-commit==2.14.0
deps = pre-commit==3.3.3
commands =
pre-commit run --all-files
pre-commit try-repo . --all-files --verbose