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

Add GitHub Super-Linter workflow #178

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

anthonyfok
Copy link
Member

@anthonyfok anthonyfok commented Mar 3, 2022

Replace our previous lintly-flake8.yml and shellcheck.yml workflows
with GitHub Super-Linter.

This was motivated by a recent Lintly bug caused by the pinning of Jinja
to an old version which no longer works with latest MarkupSafe version,
and by the apparent fact that Lintly is no longer maintained upstream.
See grantmcconnaughey/Lintly#54 and grantmcconnaughey/Lintly#55

Add Super-Linter badge to README.md, and fix errors from Super-Linter.


See https://github.com/anthonyfok/opendrr-api/runs/5363937590?check_suite_focus=true for the result of a Super-Lint run with VALIDATE_ALL_CODEBASE: true (i.e. checking all existing files too).

See sapegin/textlint-rule-terminology#38 about textlint complaining about html vs HTML in an URL. Perhaps one of these days, if I figure out how to, I would do a pull request so we no longer need the unsightly <!-- textlint-disable --> and <!-- textlint-enable --> comments in README.md.

And, interesting discussion about Python Black, which Super-Linter also uses in addition to Flake8 etc.:

Replace our previous lintly-flake8.yml and shellcheck.yml workflows
with GitHub Super-Linter.

This was motivated by a recent Lintly bug caused by the pinning of Jinja
to an old version which no longer works with latest MarkupSafe version,
and by the apparent fact that Lintly is no longer maintained upstream.
See grantmcconnaughey/Lintly#54 and grantmcconnaughey/Lintly#55

Add Super-Linter badge to README.md, and fix errors from Super-Linter.
@anthonyfok anthonyfok added this to the Sprint 53 milestone Mar 3, 2022
@anthonyfok anthonyfok self-assigned this Mar 3, 2022
Copy link
Contributor

@wkhchow wkhchow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I didn't run any test/build though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants