Skip to content

Commit 9c7d73f

Browse files
Enable pre-commit with a minimal configuration (#171)
* Enable pre-commit with a minimal configuration https://results.pre-commit.ci/repo/github/718363 https://pre-commit.com https://pre-commit.ci @Nusnus * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 0b94b54 commit 9c7d73f

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ tools/.*\.[17]$
5454
tools/doc/man-date.ent
5555

5656
clib/
57-

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Learn more about this config here: https://pre-commit.com/
2+
3+
# To enable these pre-commit hooks run:
4+
# `brew install pre-commit` or `python3 -m pip install pre-commit`
5+
# Then in the project root directory run `pre-commit install`
6+
7+
repos:
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v5.0.0
10+
hooks:
11+
# - id: check-builtin-literals
12+
# - id: check-executables-have-shebangs
13+
# - id: check-shebang-scripts-are-executable
14+
# - id: check-toml
15+
# - id: check-yaml
16+
# - id: detect-private-key
17+
- id: end-of-file-fixer
18+
# - id: mixed-line-ending
19+
# - id: trailing-whitespace

LICENSE-MPL-RabbitMQ

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,3 @@ EXHIBIT A -Mozilla Public License.
468468
the notices in the Source Code files of the Original Code. You should
469469
use the text of this Exhibit A rather than the text found in the
470470
Original Code Source Code for Your Modifications.]
471-
472-
473-

benchmark.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,3 @@ def bench_basic_consume(iterations=10000, bytes=None):
8383
args = parser.parse_args()
8484
for benchmark in benchmarks:
8585
benchmark(args.iters, bytes=args.bytes)
86-
87-

funtests/disabled_basic_get_leak.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
if not i % 1000:
2121
print(i)
2222
os.system('sh -c "ps auxww | grep %d | grep -v grep "' % os.getpid())
23-

manylinux1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
docker run --rm -v `pwd`:/workspace:z quay.io/pypa/manylinux1_x86_64 /workspace/build-manylinux1-wheels.sh
2-

0 commit comments

Comments
 (0)