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
0answers
8 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
20 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
3 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
69 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 ...
2
votes
0answers
78 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
0answers
57 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
19 views

flycheck, elpy and re-displaying corrected python code

I've had Flycheck installed for some time, using flake8. This has worked for some time. When I had errors in a *.py program, they were indicated with markers by flycheck, and after correcting them, ...
0
votes
0answers
12 views

Specifying location of Flow binary to Flycheck Flow checker

For reasons related to work, the Flow binary isn't available globally on my system and can only be found in a project repository's node_modules/.bin directory. It turns out that flycheck-flow checker ...
0
votes
0answers
18 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
28 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 [...
0
votes
0answers
89 views

Flycheck Trouble with Tramp and Python: “no module named /ssh:…/home/ubuntu/test.py”

Hi and thank You for helping! Overview I run a Linux Container (Guest) on my Machine (Host). On this guest I installed python3. Too, there I have a file "test.py". I edit this file via Emacs ...
0
votes
0answers
51 views

Doom Emacs: Flycheck cannot find header files in gtkmm-3.0

I am attempting to use gtkmm-3.0-dev in a small project. It uses meson as its build tool, and I use ninja to create a compilation database. However, regardless of any variables I set, Flycheck cannot ...
1
vote
1answer
115 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
16 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
0answers
18 views

python: flake8 ignore __main__ scope in function's scope

I am getting following warning message for the following code: F821 undefined name 'variable'. // variable becomes color red. #!/usr/bin/env python3 def doo(): print(variable) # <= F821 ...
0
votes
0answers
16 views

noqa does not suppress the warning for pyflakes:imported but unused [PYF]

The error I am getting is pyflakes: 1 '_utils.colorer' imported but unused [PYF]. I was not getting this error but it started to emerger right after I enabled mypy3. Using # NOQA, # flake8: noqa did ...
0
votes
1answer
41 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
51 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
22 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
170 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
116 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
0answers
31 views

How do I flycheck files go into a different directory?

Followings answer for: How do I control how Emacs makes backup files controls generated emacs backup files by redirecting them into antoher folder. It is annoying that all backup files go in the ...
0
votes
1answer
59 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-...
0
votes
0answers
50 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
0answers
43 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
63 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/...
0
votes
0answers
14 views

Make flycheck-color-mode-line active on buffer not active & emacs not focused

I installed flycheck (I usually used flymakes) as well as different other packages associated to it. One of them is flycheck-color-line-mode which change the color of the mode-line according to the ...
1
vote
0answers
40 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
122 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
81 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 ...
0
votes
0answers
106 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 ...
1
vote
1answer
27 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
191 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
14 views

flycheck ruby-reek conf file not found

flychecks finds reek but ignores the .reek.yml file at the root of the project ruby-reek - major mode: `emacs-lisp-mode' not supported - may enable: yes - executable: ...
0
votes
0answers
47 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
102 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 [...
0
votes
0answers
42 views

Flycheck unicode problem

Flycheck refuses to display certain characters. See image. Anyone any idea how to solve this? My emacs is running in a proper UTF-8 environment. Version is: GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ ...
0
votes
0answers
32 views

Flycheck and analysis at byte compile time

I have a trivial question related to annoyed Flycheck warnings. Why for such trivial code: (add-hook 'after-init-hook #'(lambda () (require 'server) (unless (...
1
vote
0answers
54 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 ...
3
votes
2answers
278 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 ...
0
votes
0answers
150 views

Default directory for flycheck in .dir-locals.el

I am using flycheck with some python linters (python-flake8 and python-mypy) and I would like to modify the directory from which these linters are run by flycheck. My directory structure is as ...
0
votes
0answers
174 views

Flycheck: Suspicious state from syntax checker go-vet

When I import native package into native test file. package tests import ( ... "github.com/myGithubProjectRootPath/internal/platform/web" ) ... It report a import package path not ...
1
vote
0answers
229 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
0answers
101 views

ESLint rule not applying

Below is my .eslintrc.json and I see the same option when I do eslint --print-config app.js But emacs adding semicolon on save even though I have "semi": 0 { "parserOptions": { "ecmaVersion": ...
0
votes
0answers
234 views

interactively load Cabal packages within haskell-mode

I really like how I can interactively load packages and experiment at will in Common Lisp, and would like to get a similar workflow in Haskell. I've settled on Cabal (v3.0.0.0 - new command set by ...
0
votes
0answers
53 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: ...
1
vote
1answer
768 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
387 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
106 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....
0
votes
1answer
74 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 ...