Questions tagged [flycheck]

Flycheck is an on-the-fly syntax checking package for GNU Emacs 24, with in-buffer error highlighting, automatic background checking, a dynamic error list, and built-in support for over 40 programming and markup languages.

Filter by
Sorted by
Tagged with
0
votes
1answer
99 views

How to ignore specific flycheck warning messages for Python in lsp-mode?

My goal is to configure lsp in order to ignore warning messages for flycheck in Python version. When lsp is not in use, flycheck reads from my ~/.pylintrc file in order to ignore warning messsages. ...
0
votes
0answers
34 views

Would it be possible to disable flycheck selected region on mark?

When I selected a region Ctrl-space up-arrow key, flycheck errors' font color are remain as it is. Example, flycheck error makes fore-color bold orange: Would it be possible to disable flychecks when ...
0
votes
0answers
39 views

flycheck: c/c++: how to pass the option --library=posix to cppcheck

I found a lot of things to customize in flycheck, but not one that would enable passing down --library=posix option to cppcheck.
2
votes
1answer
35 views

How to disable `flycheck` while merging Git conflicts

I am using following solution for merge Git conflicts in Emacs, which is based on smerge. During merging smerge-mode creates <<<<<<< HEAD , ||||||||| parent lines for conflict ...
0
votes
1answer
10 views

Flycheck Error Messages are cutoff by edge of window

I'm using Prelude Emacs. I could've sworn there was a simple option to allow the error tooltip to use multiple lines instead of 1, but I can't find it and my error messages get cut off by the window's ...
0
votes
0answers
16 views

How do I change my ruby mode syntax checker from ruby-rubocop to ruby-standard?

I see multiple options for Ruby when I run flycheck-select-checker and use autocomplete: ruby ruby-reek ruby-jruby ruby-rubocop ruby-rubylint ruby-standard ... I want to use ruby-standard, but if I ...
1
vote
0answers
71 views

enable flycheck/syntax checker for Java in Spacemacs

I'm a java developer and I'm beginner using spacemacs, I've configured .spacemacs file to java configuration. Many functionalities works well, for example, a class recognition when I'm coding, but in ...
0
votes
0answers
71 views

How can I set up Emacs to use Flycheck and pylint django?

I use lsp-mode and flycheck. My .pylintrc config: [MASTER] load-plugins=pylint_django What other settings do I need?
1
vote
1answer
56 views

How to switch to `flycheck-list-errors` buffer/window/minibuffer?

For starters I use Doom Emacs. Here's the scenario: I have a python/perl/js buffer and flycheck-mode activated. Flycheck does its job and tells me that there are some errors that need attention. I go ...
0
votes
0answers
29 views

How to temporarily disable flycheck while running an elisp function that inserts a large amount of text into the buffer

I often write elisp functions for large sections of boilerplate code. I am currently writing some Java and using Meghanda mode which uses Flycheck. However, when inserting these large chunks of text,...
1
vote
1answer
161 views

Use golangci-lint with lsp-mode

How can I set up golangci-lint as the linter with my config? I've tried using flycheck-golangci-lint but it doesn't seem to be working. I'm testing my config by opening a .go file with an ineffectual ...
0
votes
1answer
46 views

How to apply flycheck right after a new file is opened

I am using flycheck for for Python. I want flycheck to detect any errors right away when any Python file is opened. Currently it can detect if there is a modification and save operation is performed. ...
0
votes
0answers
101 views

How do I turn off whitespace-mode within flycheck-mode and lsp-mode (in doom emacs)?

I've enabled whitespace-mode and I'm correctly able to see my spaces, tabs, and newlines. But the spaces also show up when I receive messages from emacs (ie when I get error messages and code action ...
0
votes
0answers
23 views

Flycheck gutter reporting of LaTeX compiler errors

I'm wondering if it's possible to have Flycheck report LaTeX compile errors the way it reports linting errors. For example, if I have: \documentclass[12pt]{article} \begin{documen} %ERROR Hello world! ...
0
votes
0answers
30 views

How to test if flycheck is enabled?

For some of my JavaScript projects I use Flycheck with the javascript-eslint checker to highlight problems. This works great. I disabled many of js2-mode's checks so that they don't overlap with ...
0
votes
1answer
85 views

Prevent flycheck warning window

When flycheck finds too many warnings that do not fit in the mini-buffer, it opens up a window on a buffer named Warnings that looks something like this: Warning (flycheck): Syntax checker python-...
0
votes
0answers
14 views

Many `elpa/flycheck-pychecker` processes running on the background

I have hundreds of python /home/alper/.emacs.d/elpa/flycheck-pycheckers-20200828 processes running on the background and they remain on the background. What may be the reason for this and how can I ...
0
votes
1answer
273 views

spacemacs: How can I disable flymake and flycheck completely, to speed up performance

I’m using spacemacs. I just installed syntax-highlighting layer and auto-completion layer, and now my emacs got really really slow. So slow that going back to PyCharm (IntelliJ) with R-plugin feels ...
6
votes
0answers
543 views

How can I see all errors in a Go project with LSP mode?

When opening a Go project with LSP mode, spacemacs / flycheck only shows errors in the current package, not including tests files. For example, in the following project: |- pkg1 |- pkg2 |- cmd When I'...
0
votes
2answers
457 views

When using flycheck, how to permanently disable pylint?

I'm using Doom Emacs on macOS, if it matters. Essentially, I'd like to disable the pylint checker entirely when editing Python files. I don't use pylint, and I don't have it installed in my Pyenv ...
0
votes
0answers
25 views

How do I stop checkdoc from flagging header/footer in org-src-edit buffers?

When editing Emacs Lisp source blocks in org-mode via org-src-edit, if flycheck is enabled (which I'd like to keep that way) checkdoc rather annoyingly remarks that I'm missing headers and footers and ...
0
votes
1answer
60 views

How do I set flycheck-markdown-mdl-rules

I'm trying to get FlyCheck to ignore a rule used by mdl for checking syntax for.md files. I'm not very lisp or emacs savvy, but I've added this code to my personal.el file. ;; Turn off mdl message [...
1
vote
1answer
350 views

Flycheck - Eslint: 'config file: missing or incorrect'

After following the installation instructions I received this error: javascript-eslint (disabled) - may enable: Automatically disabled! - executable: Found at /Users/ben/programming/...
0
votes
1answer
26 views

Re-enable flychecksyntax checker after reported too many errors

I recently ran into this error from flycheck: Warning (flycheck): Syntax checker csharp-omnisharp-codecheck reported too many errors (482) and is disabled. I saw this: Warning (flycheck): Syntax ...
0
votes
1answer
268 views

noqa does not suppress the warning for flake8

The example warning I am getting is Item "None" of "Optional[IO[bytes]]" has no attribute "close"], as making the line bold and red. This usually occurs if Python cannot ...
0
votes
1answer
65 views

flycheck how to silence certain errors or alternatively how to show warnings when errors are present

mac osx catalina (latest) emacs 26.3 from homebrew flycheck gfortran 9.3.0 I am trying to use flycheck to clean up and reorganize some code. Right now I would like to see some warnings to clean them ...
0
votes
2answers
102 views

flycheck cannot use gfortran, executable not found

Previously I had been able to use flycheck for fortran files, but something seems to have broken perhaps during an update. Mac OSX catalina (latest) gfortran 9.3.0 from homebrew emacs 26.3 from ...
0
votes
0answers
31 views

Use two different Fortran standards in flycheck

I work a lot with Fortran, both with newer standards like f90/f95 (f90-mode in emacs) as well as the f77 standard (fortran-mode in emacs). I want to enable flycheck so it works with both standards (...
0
votes
1answer
522 views

Problem with Flycheck and Python

I think that this is a newbie question, but here it goes: I have installed Flycheck just as in the official page. Therefore, in my .emacs file I added the following lines (after installing): (package-...
1
vote
0answers
526 views

Is there any way to supress or prevent python-mypy `Suspicious state` message

When I open an empty Python file I get following warning message in the minibuffer. I added following into my init file: (require 'flycheck-mypy) // Flycheck version: 32snapshot (package: 20200610....
0
votes
1answer
179 views

How to disable specific flycheck-warning messages in LaTeX-mode?

Currenty I am on LaTeX-mode-hook using flycheck. (setq LaTeX-item-indent 0) (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook 'hl-todo-mode) (require 'tex) (add-hook 'LaTeX-...
1
vote
0answers
141 views

Suppress a warning in lsp-mode using clangd

Here's an example of code for which I get a warning when using lsp-mode, with clangd: struct A { union { struct B { int i; } b; }; }; The warning appears with a flycheck mark on ...
1
vote
1answer
93 views

Skip over remaining errors in current file to next error in next file

tl;dr I am using :cn in Evil's Ex command line and would like to use :cnf as well, but it is not there, and I don't know what function to bind it to. Details As a former Vim user who is slowly ...
0
votes
1answer
159 views

How to use concat to get the path in .dir-locals.el with flycheck-clang-include-path

I am using the following content to include headers to my project using .dir-locals.el ((c++-mode . ((flycheck-clang-language-standard . "c++14") (flycheck-clang-include-path "/Users/user/...
1
vote
0answers
79 views

flycheck & auctex: Hide an specific warning

When using Auctex with Flycheck (Chktex) I get hundreds of warnings of the kind some.tex 321 8 warning 3 You should enclose the previous parenthesis with `{}'. (tex-chktex) How I can disable ...
1
vote
2answers
330 views

Why does flycheck open a new buffer for error messages?

So I am using flycheck for my C++ projects with this setup: ;; Require flycheck to be present (require 'flycheck) ;; Force flycheck to always use c++11 support. We use ;; the clang language backend ...
0
votes
1answer
331 views

How to enable python-pylint for the all files by default?

I can enable python-pylint for a opened Python file doing: M-x flycheck-select-checker and enter python-pylint It think it says C-c ! s to enable it on all Python files.(the message hides itself so ...
1
vote
0answers
303 views

Using emacs for ruby development with asdf version manager

I have installed a (doom) emacs to start developing with Ruby. So far I have mainly used Sublime Text but because of reasons I want to give emacs a chance. I tried Spacemacs too but uninstalled this ...
2
votes
1answer
57 views

Why does Flycheck complain "mapcar called for effect" when my function returns the result of mapcar by design?

Since installing Flycheck I've been bombarded with complaints about the elisp functions I've used reliably for years. This is the first one I can't understand. Here my function is designed to return ...
2
votes
0answers
272 views

flycheck - elpy - flake8 - ein and .ipynb files

I have set up Emacs (on Mac Catalina) with Elpy to handle Python. I also managed to get Jupyter notebooks (.ipynb files) working with Elpy via Ein. Both .py and .ipynb compile and use Flycheck ...
0
votes
0answers
74 views

I can't find the flycheck package

I am on MacOS and using Emacs 26.3 When I go to package-install in the minibuffer and type in flycheck, it autocompletes and adds a hyphen. I can't install just flycheck. Also when I go to list-...
1
vote
0answers
185 views

Is this a normal behavior for *Flycheck error message*’s display?

The following is an example of how my flycheck errors show up on emacs: Method name &quot;createQATask&quot; doesn&#x27;t conform to &#x27;[a-z_][a-z0-9_]{2,30}$&#x27; pattern [...
1
vote
0answers
90 views

Unable to make `solidity-flycheck-solc` and solidity-flycheck-solium-checker-active work

I am unable to make solidity-flycheck-solc work. I am not sure what I am doing wrong. solidity-mode works where the font color changes. But flycheck does not work like it does on python files. In ...
4
votes
2answers
568 views

How to make flycheck checker 'ruby-rubocop' use 'bundle exec rubocop' as executable?

I want ruby-rubocop Flycheck syntax checker to execute bundle exec rubocop instead of just rubocop. What I've tried: (setq flycheck-ruby-rubocop-executable "bundle exec rubocop") Results in ...
1
vote
1answer
697 views

How to add a syntax checker to a major mode for flycheck?

I have the following flycheck setup in my init.el (use-package flycheck :after web-mode :config (global-flycheck-mode) (flycheck-add-mode 'javascript-eslint 'web-mode) :...
0
votes
1answer
109 views

Python for set globals()[''] variables having undefined name warning message

I am using flycheck for for Python. For global files that I set using ( globals()['variable']), and later used, it gives the following warning message: undefined name <variable> [F821] Example: ...
2
votes
2answers
1k views

Error: No word lists can be found for the language "en_US"

I am using GNU Emacs 26.1 on macOS Catalina. When I try to enable ispell or flycheck-mode I am getting following error: No word lists can be found for the language "en_US". => How could I fix this ...
1
vote
1answer
801 views

Flycheck does not find .h file

I am using Flycheck for my syntax highlighting which have been working out great when working with all header and source files in one directory. I recently decided to add some unit tests to test my ...
2
votes
2answers
155 views

How to disable stack with flycheck for Haskell?

I'm on nixos and due to stack's integration with Nix/Nixos the following command is very slow: time stack ghc ghc: no input files Usage: For basic information, try the `--help' option. stack ghc 1....
1
vote
1answer
176 views

Unbalanced parentheses error when installing flycheck

I'm having trouble installing flycheck. I'm on a Mac (see below for details), and I have placed the 3-line code snippet recommneded on the flycheck installation page in my emacs init file. When I ...