Skip to content

Commit 859e449

Browse files
committed
Apply pre-commit changes
1 parent 79e2617 commit 859e449

6 files changed

Lines changed: 13 additions & 28 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
22
updates:
3-
- package-ecosystem: pip
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
- package-ecosystem: github-actions
8-
directory: "/"
9-
schedule:
10-
interval: daily
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
- package-ecosystem: github-actions
8+
directory: "/"
9+
schedule:
10+
interval: daily

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
name: Release
2-
32
on:
43
release:
54
types: [published]
65
workflow_dispatch:
7-
86
permissions:
97
id-token: write
10-
118
jobs:
12-
139
release-build:
1410
runs-on: ubuntu-latest
15-
1611
steps:
1712
- uses: actions/checkout@v6
1813
- uses: actions/setup-python@v6
@@ -24,14 +19,12 @@ jobs:
2419
with:
2520
name: release-dists
2621
path: dist/
27-
2822
pypi-publish:
2923
runs-on: ubuntu-latest
3024
needs:
3125
- release-build
3226
permissions:
3327
id-token: write
34-
3528
steps:
3629
- uses: actions/download-artifact@v7
3730
with:

.readthedocs.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# .readthedocs.yaml
22
# Read the Docs configuration file
33
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
54
version: 2
6-
75
build:
86
os: ubuntu-20.04
97
tools:
108
python: "3.10"
11-
129
sphinx:
1310
configuration: docs/conf.py
14-
15-
1611
python:
1712
install:
1813
- method: pip

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![djversion](https://img.shields.io/pypi/djversions/django-health-check.svg)](https://pypi.python.org/pypi/django-health-check/)
66
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://pypi.python.org/pypi/django-health-check/)
77

8-
98
This project checks for various conditions and provides reports when anomalous
109
behavior is detected.
1110

@@ -104,6 +103,7 @@ threshold settings; otherwise below defaults are assumed.
104103
```
105104

106105
To use Health Check Subsets, Specify a subset name and associate it with the relevant health check services to utilize Health Check Subsets. (New in version 3.18.0)
106+
107107
```python
108108
HEALTH_CHECK = {
109109
# .....
@@ -117,6 +117,7 @@ To use Health Check Subsets, Specify a subset name and associate it with the rel
117117
```
118118

119119
To add checks on a specific database, it's possible to parameterize `DatabaseBackend` to use a specific database:
120+
120121
```python
121122
HEALTH_CHECK = {
122123
# .....
@@ -131,6 +132,7 @@ To add checks on a specific database, it's possible to parameterize `DatabaseBac
131132
```
132133

133134
To only execute specific subset of health check
135+
134136
```shell
135137
curl -X GET -H "Accept: application/json" http://www.example.com/ht/startup-probe/
136138
```
@@ -149,7 +151,7 @@ rabbit server. For example:
149151
BROKER_URL = "amqp://myuser:mypassword@localhost:5672/myvhost"
150152
```
151153

152-
To use the Redis healthcheck, please make sure that there is a variable named ``REDIS_URL``
154+
To use the Redis healthcheck, please make sure that there is a variable named `REDIS_URL`
153155
on django.conf.settings with the required format to connect to your redis server. For example:
154156

155157
```python
@@ -163,7 +165,7 @@ It can be customized by setting `HEALTHCHECK_CACHE_KEY` to another value:
163165
HEALTHCHECK_CACHE_KEY = "custom_healthcheck_key"
164166
```
165167

166-
Additional connection options may be specified by defining a variable ``HEALTHCHECK_REDIS_URL_OPTIONS`` on the settings module.
168+
Additional connection options may be specified by defining a variable `HEALTHCHECK_REDIS_URL_OPTIONS` on the settings module.
167169

168170
## Setting up monitoring
169171

@@ -307,7 +309,6 @@ This should yield the following output:
307309

308310
Similar to the http version, a critical error will cause the command to quit with the exit code `1`.
309311

310-
311312
## Other resources
312313

313314
- [django-watchman](https://github.com/mwarkentin/django-watchman) is a package that does some of the same things in a slightly different way.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ test = [
6161
"boto3",
6262
]
6363
docs = ["sphinx"]
64-
lint = [
65-
"ruff==0.14.10",
66-
]
6764

6865
[tool.flit.module]
6966
name = "health_check"

0 commit comments

Comments
 (0)