Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/timw/unify-python-pre-comm…
Browse files Browse the repository at this point in the history
…its'

* origin/topic/timw/unify-python-pre-commits:
  Standardize on ruff for python formatting/linting via pre-commits
  • Loading branch information
timwoj committed Apr 10, 2024
2 parents f3d7e29 + 5ac5fe7 commit 989c751
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
15 changes: 6 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,17 @@ repos:
- id: end-of-file-fixer
exclude: ^testing/Baseline|examples/.*Baseline.*

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

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.15.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0 # 6.0.0 requires Python 3.8
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.0
hooks:
- id: flake8
- id: ruff
args: [--fix]
- id: ruff-format

exclude: examples/sphinx/conf.py
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1-8 | 2024-04-10 09:35:28 -0700

* Standardize on ruff for python formatting/linting via pre-commits (Tim Wojtulewicz, Corelight)

1.1-6 | 2024-01-09 09:16:00 +0100

* Add option to read lists of tests from file. (Robin Sommer)
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
..
.. Version number is filled in automatically.

.. |version| replace:: 1.1-6
.. |version| replace:: 1.1-8

==================================================
BTest - A Generic Driver for Powerful System Tests
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1-6
1.1-8
2 changes: 1 addition & 1 deletion btest
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else:
import multiprocessing.managers as mp_managers
import multiprocessing.sharedctypes as mp_sharedctypes

VERSION = "1.1-6" # Automatically filled in.
VERSION = "1.1-8" # Automatically filled in.

Name = "btest"
Config = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

setup(
name="btest",
version="1.1.dev4", # Filled in automatically.
version="1.1.dev8", # Filled in automatically.
description="A powerful system testing framework",
long_description="See https://github.com/zeek/btest",
author="The Zeek Team",
Expand Down

0 comments on commit 989c751

Please sign in to comment.