Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

➖ remove broken mdformat-pyproject #262

Merged
merged 15 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .mdformat.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
end_of_line = "lf"
# exclude = [".tox/**", ".venv/**", "**/*.m[!d]", "**/*.[!m]d"]
# TODO: Uncomment once `--exclude` can be used on `python<3.13`, see
# https://github.com/hukkin/mdformat/issues/489
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ lint = [
{include-group = "scipy"},
"mdformat-gfm>=0.3.7,<1",
"mdformat-gfm-alerts>=1.0.1,<2",
"mdformat-pyproject>=0.0.2,<1",
"ruff>=0.8.2",
"sp-repo-review[cli]>=2024.8.19",
]
Expand Down Expand Up @@ -97,6 +96,8 @@ mdformat
tests/README.md
codegen/README.md
"""
# TODO: Replace with `mdformat .` once `--exclude` can be used on `python<3.13`, see
# https://github.com/hukkin/mdformat/issues/489
_ruff_format = "ruff format"
_ruff_check = "ruff check --show-fixes"
repo-review = "repo-review ."
Expand Down Expand Up @@ -150,10 +151,6 @@ args = [
[tool.typos.files]
extend-exclude = ["*.pyi"]

[tool.mdformat]
end_of_line = "lf"
exclude = [".tox/**", ".venv/**", "**/*.m[!d]", "**/*.[!m]d"]

[tool.mypy]
python_version = "3.10"
strict = true
Expand Down
17 changes: 0 additions & 17 deletions uv.lock

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

Loading