Skip to content

Commit

Permalink
Add mdformat
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Oct 9, 2024
1 parent 775f0fb commit 19e61bf
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ lint: ## Lint project.
.PHONY: format
format: ## Format project.
@poetry run ruff format
@poetry run mdformat .

.PHONY: check
check: check/format check/lint check/types check/spell ## Run all checks.
Expand Down
258 changes: 252 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pandas = {version = "^1.3", optional = true}
pypdf = {version = "^5.0.1", optional = true}
pillow = {version = "^10.2.0", optional = true}
mail-parser = {version = "^3.15.0", optional = true}
mdformat-admon = "^2.0.6"

[tool.poetry.extras]
drivers-prompt-cohere = ["cohere"]
Expand Down Expand Up @@ -221,6 +222,10 @@ pyright = "^1.1.376"
pre-commit = "^4.0.0"
boto3-stubs = {extras = ["bedrock", "iam", "opensearch", "s3", "sagemaker", "sqs", "iot-data", "dynamodb", "redshift-data"], version = "^1.34.105"}
typos = "^1.22.9"
mdformat = "^0.7.17"
mdformat-gfm = "^0.3.6"
mdformat-frontmatter = "^2.0.8"
mdformat-footnote = "^0.1.1"


[tool.poetry.group.docs]
Expand Down

0 comments on commit 19e61bf

Please sign in to comment.