-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[MAINTENANCE] Lint Docs #8936
Merged
Merged
[MAINTENANCE] Lint Docs #8936
Changes from 15 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6918f64
lint docs dir
Kilo59 e8770d6
autofix
Kilo59 25a369e
docs `ruff.toml`
Kilo59 9c8c512
fix or ignore violations
Kilo59 43bb5b8
docs_link_checker fix
Kilo59 21f5e21
Merge branch 'develop' into m/_/docs-lint
Kilo59 9d3cd2d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ca6db63
use `pathlib` with docs_link_checker
Kilo59 8a6253f
`prepare_prior_versions.py` use pathlib
Kilo59 8506264
sphinx conf
Kilo59 465375f
use pathlib.Path.rglob()
Kilo59 dfcb42b
fix types
Kilo59 470dda2
resolve
Kilo59 9e4b249
elif
Kilo59 1985143
fix `Path`/`str` issue
Kilo59 a91d95c
resolve merge conflicts
Kilo59 d054aa8
set line length to `88` to reduce formatting changes
Kilo59 4ff83c6
update path
Kilo59 7a2a5be
ignore line-too-long
Kilo59 04468b7
ignore banned-import
Kilo59 dc54578
use exclude instead of include
Kilo59 575c541
update excludes
Kilo59 573d8dd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1157416
Merge branch 'develop' into m/_/docs-lint
Kilo59 1ad8df4
lin_checker
Kilo59 3800097
noqas
Kilo59 11e3e29
limited type-checking
Kilo59 0a62984
add doc types
Kilo59 0320147
fix type issues
Kilo59 e22217f
don't check type-files
Kilo59 124d991
docstring_parser type warnings
Kilo59 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we want different linting rules for the docs code we can customize it in this file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# docs/ specific ruff linter overrides | ||
|
||
# root linter settings are defined in the file below | ||
extend = "../pyproject.toml" | ||
|
||
extend-ignore = [ | ||
# https://docs.astral.sh/ruff/rules/magic-value-comparison/ | ||
"PLR2004", # can be tedious and overly verbose in docs | ||
] | ||
|
||
[isort] | ||
known-first-party = ["great_expectations", "tests"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need this method at all if using
pathlib