Skip to content

Commit b7d8dfa

Browse files
committed
pre-commmit
1 parent 69b9614 commit b7d8dfa

File tree

15 files changed

+22
-45
lines changed

15 files changed

+22
-45
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
fail_fast: true
1+
fail_fast: false
22
repos:
33
- repo: https://github.com/asottile/pyupgrade
4-
rev: v3.19.0
4+
rev: v3.17.0
55
hooks:
66
- id: pyupgrade
77
args:
88
- --py38-plus
99
- --keep-runtime-typing
1010

1111
- repo: https://github.com/ambv/black
12-
rev: 24.10.0
12+
rev: 24.8.0
1313
hooks:
1414
- id: black
1515
language_version: python3.10
1616

1717
- repo: https://github.com/abravalheri/validate-pyproject
18-
rev: v0.23
18+
rev: v0.19
1919
hooks:
2020
- id: validate-pyproject
2121

2222
- repo: https://github.com/pre-commit/mirrors-mypy
23-
rev: v1.13.0
23+
rev: v1.11.1
2424
hooks:
2525
- id: mypy
2626
verbose: true
@@ -93,7 +93,7 @@ repos:
9393
# - id: pydocstyle
9494

9595
- repo: https://github.com/executablebooks/mdformat
96-
rev: 0.7.19
96+
rev: 0.7.17
9797
hooks:
9898
- id: mdformat
9999
additional_dependencies:
@@ -130,11 +130,11 @@ repos:
130130
# )$
131131

132132
# Prettier
133-
- repo: https://github.com/pre-commit/mirrors-prettier
134-
rev: v4.0.0-alpha.8
135-
hooks:
136-
- id: prettier
137-
types: [yaml]
133+
#- repo: https://github.com/pre-commit/mirrors-prettier
134+
# rev: v4.0.0-alpha.8
135+
# hooks:
136+
# - id: prettier
137+
# types: [yaml]
138138

139139
# - repo: https://github.com/jsh9/pydoclint
140140
# rev: 0.3.8
@@ -148,7 +148,7 @@ repos:
148148
# ]
149149

150150
- repo: https://github.com/pre-commit/pre-commit-hooks
151-
rev: v5.0.0 # Use the ref you want to point at
151+
rev: v4.6.0 # Use the ref you want to point at
152152
hooks:
153153
- id: check-added-large-files
154154
name: check for added large files
@@ -240,12 +240,12 @@ repos:
240240
entry: check-xml
241241
language: python
242242
types: [xml]
243-
- id: check-yaml
244-
name: check yaml
245-
description: checks yaml files for parseable syntax.
246-
entry: check-yaml
247-
language: python
248-
types: [yaml]
243+
# - id: check-yaml
244+
# name: check yaml
245+
# description: checks yaml files for parseable syntax.
246+
# entry: check-yaml
247+
# language: python
248+
# types: [yaml]
249249
- id: debug-statements
250250
name: debug statements (python)
251251
description: checks for debugger imports and py37+ `breakpoint()` calls in python source.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
| [![Documentation](https://img.shields.io/static/v1?label=&message=docs&color=EE4C2C&style=for-the-badge)](https://pything.github.io/apppath/) | [![Build Status](https://travis-ci.com/pything/apppath.svg?branch=master)](https://travis-ci.com/pything/apppath) | [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) | [![Coverage Status](https://coveralls.io/repos/github/pything/apppath/badge.svg?branch=master)](https://coveralls.io/github/pything/apppath?branch=master) | [![Total alerts](https://img.shields.io/lgtm/alerts/g/pything/apppath.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pything/apppath/alerts/) | [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/pything/apppath.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pything/apppath/context:python) |
1212
| --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1313

14-
| Workflows |
15-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
14+
| Workflows |
15+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1616
| ![Publish Python 🐍 distributions 📦 to PyPI and TestPyPI](https://github.com/pything/apppath/workflows/Publish%20Python%20%F0%9F%90%8D%20distributions%20%F0%9F%93%A6%20to%20PyPI%20and%20TestPyPI/badge.svg) |
17-
| ![On Push Any Documentation Check](https://github.com/pything/apppath/workflows/On%20Push%20Any%20Documentation%20Check/badge.svg) |
18-
| ![CodeQL](https://github.com/pything/apppath/workflows/CodeQL/badge.svg) |
17+
| ![On Push Any Documentation Check](https://github.com/pything/apppath/workflows/On%20Push%20Any%20Documentation%20Check/badge.svg) |
18+
| ![CodeQL](https://github.com/pything/apppath/workflows/CodeQL/badge.svg) |
1919

2020
______________________________________________________________________
2121

apppath/__init__.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
from pathlib import Path
32

43
from warg import clean_string, get_version, package_is_editable

apppath/app_path.py

100755100644
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python3
2-
3-
41
__author__ = "Christian Heider Lindbjerg"
52
__doc__ = "Application data directories extension for pathlib"
63

apppath/entry_points/__init__.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
#!/usr/bin/env python3
2-
31
__author__ = "Christian Heider Lindbjerg"
42
__doc__ = ""

apppath/entry_points/clean_apppath.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
import argparse
32
from shutil import rmtree
43

apppath/entry_points/open_apppath.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
import argparse
32

43
from apppath import AppPath

apppath/system_open_path_utilities.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
31
__author__ = "Christian Heider Lindbjerg"
42
__doc__ = r"""
53

apppath/windows_path_utilities.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
31
__author__ = "Christian Heider Lindbjerg"
42
__doc__ = ""
53

benchmarks/benchmark_func.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
31
__author__ = "Christian Heider Lindbjerg"
42

53
import time

0 commit comments

Comments
 (0)