-
Notifications
You must be signed in to change notification settings - Fork 14
Additional checkers #38
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
Conversation
d3be1a0
to
4b9cdf4
Compare
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.
Thanks for contributing and also thanks for adding tests 🥳. Could you just update the group for the clang-tidy checker customs. Then this should be good to merge :-).
4b9cdf4
to
a6df0e8
Compare
Thanks for the feedback, I've done the changes. Thanks again for your responsiveness! |
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.
LGTM :-). Let's merge.
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.
Could you fix the build failures please? The nasm tests are failing. Ruff is failing as well but I think you just need to merge in the release branch since I fixed that while back. The checkdoc build is failing on the snapshot branch so fine to ignore that. The others should ideally pass.
Hi again @mohkale , I've pushed a fix to pass the test. It seems like the NASM version included in the test container is a bit older than mine, hence the difference in the messages. It should be fixed now! |
@mohkale I've fixed in issue in |
a4a4ab0
to
85680fa
Compare
Reverted |
I've seen this failure before but can never remember how to fix it. When I get some free time I'll take a look. If you'd prefer please continue trying to debug. You should be able to run the linter yourself with |
Hi again @mohkale I've tried the linter on the current branch and it comes clean! $ make lint
[compile] src/checkers/flymake-collection-clang-tidy.el
[compile] src/checkers/flymake-collection-less.el
[compile] src/checkers/flymake-collection-luacheck.el
[compile] src/checkers/flymake-collection-hlint.el
[compile] src/checkers/flymake-collection-statix.el
[compile] src/checkers/flymake-collection-pylint.el
[compile] src/checkers/flymake-collection-mypy.el
[compile] src/checkers/flymake-collection-flake8.el
[compile] src/checkers/flymake-collection-codespell.el
[compile] src/checkers/flymake-collection-shellcheck.el
[compile] src/checkers/flymake-collection-markdownlint.el
[compile] src/checkers/flymake-collection-lua.el
[compile] src/checkers/flymake-collection-bandit.el
[compile] src/checkers/flymake-collection-nasm.el
[compile] src/checkers/flymake-collection-sql-lint.el
[compile] src/checkers/flymake-collection-xmllint.el
[checkdoc] src/flymake-collection-define.el
[checkdoc] src/flymake-collection.el
[checkdoc] src/flymake-collection-commands.el
[checkdoc] src/flymake-collection-hook.el
[checkdoc] src/checkers/flymake-collection-jq.el
[checkdoc] src/checkers/flymake-collection-yamllint.el
[checkdoc] src/checkers/flymake-collection-pyre.el
[checkdoc] src/checkers/flymake-collection-gcc.el
[checkdoc] src/checkers/flymake-collection-kube-linter.el
[checkdoc] src/checkers/flymake-collection-clang.el
[checkdoc] src/checkers/flymake-collection-pycodestyle.el
[checkdoc] src/checkers/flymake-collection-html-tidy.el
[checkdoc] src/checkers/flymake-collection-ruff.el
[checkdoc] src/checkers/flymake-collection-jsonlint.el
[checkdoc] src/checkers/flymake-collection-rubocop.el
[checkdoc] src/checkers/flymake-collection-sqlint.el
[checkdoc] src/checkers/flymake-collection-vale.el
[checkdoc] src/checkers/flymake-collection-awk-gawk.el
[checkdoc] src/checkers/flymake-collection-eslint.el
[checkdoc] src/checkers/flymake-collection-proselint.el
[checkdoc] src/checkers/flymake-collection-clang-tidy.el
[checkdoc] src/checkers/flymake-collection-less.el
[checkdoc] src/checkers/flymake-collection-luacheck.el
[checkdoc] src/checkers/flymake-collection-hlint.el
[checkdoc] src/checkers/flymake-collection-statix.el
[checkdoc] src/checkers/flymake-collection-pylint.el
[checkdoc] src/checkers/flymake-collection-mypy.el
[checkdoc] src/checkers/flymake-collection-flake8.el
[checkdoc] src/checkers/flymake-collection-codespell.el
[checkdoc] src/checkers/flymake-collection-shellcheck.el
[checkdoc] src/checkers/flymake-collection-markdownlint.el
[checkdoc] src/checkers/flymake-collection-lua.el
[checkdoc] src/checkers/flymake-collection-bandit.el
[checkdoc] src/checkers/flymake-collection-nasm.el
[checkdoc] src/checkers/flymake-collection-sql-lint.el
[checkdoc] src/checkers/flymake-collection-xmllint.el |
ping @mohkale ! |
Hi, sorry. Didn't get a chance to check this this weekend. I'll take a look when I have some free time. |
FYI Tried taking a look at this, annoyingly some regressions in pylint and the rx interface is causing the build on the master branch to fail which is rippling into this PR. It requires some refactoring so when I have some more time I'll address the failures but won't be able to merge this PR until afterwards (just to avoid compounding issues 😞). |
@abougouffa Took me a while to reprioritise this but i've fixed the build failures on the master branch. You're PR is currently failing linting on Emacs 28.1. I'd suggest double checking by running |
Hi @mohkale Thank you for the feedback, I see the issue now, I will fix it ASAP! Thanks again! |
c3d1d70
to
3611ce6
Compare
Hiya, there still seems to be some issues with the build. Please take a look when you get a chance. I've also noticed for some reason CI didn't run automatically when you commit, I've pushed something that should fix that but I'll keep monitoring to see if the issue persists 🤔. |
419fdfc
to
da80c26
Compare
Hi @mohkale Thank you for the reminder. I've pushed a fix for the detected issue. I've run the test and lint actions in my fork and I see that it is passing now. https://github.com/abougouffa/flymake-collection/actions Thanks again! |
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.
LGTM :-). Thanks for contributing.
First, I would like to thank you for this collection!
I've been using
flymake-collection
to define some checkers in my config for tools that I use regularly. And I thought I should contribute them back!This PR include checkers for:
I've tried to add the install commands and some tests, but I'm kind of trying blindly because I didn't manage to run the Docker used to run tests!
Edit
A little bug fix slipped into one of the commits, the setup hook for Elisp was wrongly set to
elisp-mode
instead ofemacs-lisp-mode
.