Skip to content

Commit

Permalink
Bumping dependencies and pre-commit hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatingNull committed Jan 26, 2024
1 parent 5b74c3e commit 78aff29
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
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.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -16,28 +16,28 @@ repos:

# General Project code formatter.
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.1.0
hooks:
- id: black

# Sorts python imports.
- repo: https://github.com/PyCQA/isort
# Note - on black update blacken-docs pin should also be updated.
rev: 5.11.4
rev: 5.13.2
hooks:
- id: isort
args: ['--profile=black']


# Formats python docstrings.
- repo: https://github.com/PyCQA/docformatter
rev: v1.5.1
rev: v1.7.5
hooks:
- id: docformatter

# Used to detect unintentionally unused code.
- repo: https://github.com/asottile/dead
rev: v1.5.0
rev: v1.5.2
hooks:
- id: dead
args: [
Expand All @@ -46,7 +46,7 @@ repos:

# Lint code in pre-commit env, note: This ignores import checks.
- repo: https://github.com/PyCQA/pylint
rev: v2.15.9
rev: v3.0.3
hooks:
- id: pylint
args: [
Expand All @@ -56,7 +56,7 @@ repos:

# Lint code for security flaws.
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.7
hooks:
- id: bandit
args: [
Expand All @@ -67,7 +67,7 @@ repos:
# Lint docstrings.
- repo: https://github.com/PyCQA/pydocstyle
# Waiting for a 3.10 release on pypi
rev: "6.2.0"
rev: "6.3.0"
hooks:
- id: pydocstyle
additional_dependencies:
Expand All @@ -76,6 +76,6 @@ repos:

# Static typehint linting.
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
rev: v1.8.0
hooks:
- id: mypy
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
clipy-hooks==0.2.0
clipy-hooks==0.2.1
4 changes: 2 additions & 2 deletions requirements_development.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pre-commit==2.21.0
pytest==7.2.0
pre-commit==3.6.0
pytest==7.4.4
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""For building the project."""

from setuptools import setup

setup()
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuring pytest fixtures for use in the test suite."""

import pytest
from clipy_hooks.cli import Command

Expand Down
1 change: 1 addition & 0 deletions tests/test_arduino_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for checking the functionality of the arduino-cli hook."""

import contextlib
import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions tests/test_arduino_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for checking the functionality of the arduino-lint hook."""

import contextlib
import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions tests/test_sketch_behaviour.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests the upstream sketch examples against applicable cli tools."""

import contextlib
import os
from pathlib import Path
Expand Down

0 comments on commit 78aff29

Please sign in to comment.