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.
Fixes some issues that were described in this thread:
flox: Upgrade markdownlint and lychee
I want
gitignore
support frommarkdownlint-cli2
but it wasn'tavailable in the version that was pinned by
python.version
in thetoplevel
package group.I've moved
lychee
to a new group at the same time because it feltweird having a group for a single package and I can safely verify that
these don't introduce any breaking changes.
ci: Move markdownlint globs to config
This fixes a bug whereby the globs were being incorrectly expanded by
the shell before being passed to
markdownlint-cli2
because theyweren't quoted as the docs suggest.
Depending on the shell in use this could cause it to:
docs/tutorials/migrations
docs/reference/command-reference
if the glob wasexpanded before
flox activate
copies the dir fromflox/flox
lint: Ignore gitignored dirs (command-reference)
We don't want to lint
docs/reference/command-reference
because thefiles are already committed and copied from
flox/flox
. We may chooseto apply linting there separately.
We could use
!docs/reference/command-reference
in the glob patternsbut it feels more reliable to depend on the gitignore rules that we
already have in case the path changes at any time.
lint: Auto-fix omitted migrations dir
These were inconsistently linted until a recent commit that moved the
globbing to the config. This is the result of running: