Skip to content

Commit bc148b5

Browse files
authored
Fix MdFormat (#1520)
1 parent 446df15 commit bc148b5

File tree

4 files changed

+15
-26
lines changed

4 files changed

+15
-26
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: Pre-Discussed and Approved Topics
3-
about: Only for topics already discussed and approved in the GitHub Discussions section.
2+
name: Pre-Discussed and Approved Topics
3+
about: Only for topics already discussed and approved in the GitHub Discussions section.
44
---
55

66
Is this a reproducible bug? If not, please open a new [Github Discussion](https://github.com/orgs/griptape-ai/discussions/new/choose).

.pre-commit-config.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,15 @@ repos:
66
args: [--py39-plus, --keep-runtime-typing]
77
- repo: local
88
hooks:
9-
- id: ruff-lint
10-
name: Ruff
11-
entry: make lint
12-
language: system
13-
types: [python]
14-
- repo: local
15-
hooks:
16-
- id: ruff-format
17-
name: Ruff
9+
- id: format
10+
name: Format
1811
entry: make format
1912
language: system
2013
types: [python]
2114
- repo: local
2215
hooks:
23-
- id: pyright
24-
name: Pyright
25-
entry: make check/types
26-
language: system
27-
types: [python]
28-
- repo: local
29-
hooks:
30-
- id: typos
31-
name: Typos
32-
entry: make check/spell
16+
- id: types
17+
name: Check
18+
entry: make check
3319
language: system
3420
types: [python]

CONTRIBUTING.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ friendly to new contributors are tagged with "good first issue".
1616
**I have a bug!**
1717

1818
1. Search the issue tracker and discussions for similar issues.
19-
2. If you don't have steps to reproduce, open a discussion.
20-
3. If you have steps to reproduce, open an issue.
19+
1. If you don't have steps to reproduce, open a discussion.
20+
1. If you have steps to reproduce, open an issue.
2121

2222
**I have an idea for a feature!**
2323

@@ -26,7 +26,7 @@ friendly to new contributors are tagged with "good first issue".
2626
**I've implemented a feature!**
2727

2828
1. If there is an issue for the feature, open a pull request.
29-
2. If there is no issue, open a discussion and link to your branch.
29+
1. If there is no issue, open a discussion and link to your branch.
3030

3131
**I have a question!**
3232

@@ -58,7 +58,6 @@ Pull requests should be associated with a previously accepted issue.
5858
**If you open a pull request for something that wasn't previously discussed,**
5959
it may be closed or remain stale for an indefinite period of time.
6060

61-
6261
> [!NOTE]
6362
>
6463
> **Pull requests are NOT a place to discuss feature design.** Please do
@@ -75,16 +74,19 @@ The [Griptape Extension Template](https://github.com/griptape-ai/griptape-extens
7574
## Dev Environment
7675

7776
Install all dependencies via Make:
77+
7878
```shell
7979
make install
8080
```
8181

8282
Run tests:
83+
8384
```shell
8485
make test/unit
8586
```
8687

8788
Run checks:
89+
8890
```shell
8991
make check
9092
```

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,15 @@ lint: ## Lint project.
7373
.PHONY: format
7474
format: ## Format project.
7575
@poetry run ruff format
76-
@poetry run mdformat .
76+
@poetry run mdformat .github/ docs/
7777

7878
.PHONY: check
7979
check: check/format check/lint check/types check/spell ## Run all checks.
8080

8181
.PHONY: check/format
8282
check/format:
8383
@poetry run ruff format --check
84+
@poetry run mdformat --check .github/ docs/
8485

8586
.PHONY: check/lint
8687
check/lint:

0 commit comments

Comments
 (0)