Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
milochadam
@milochadam
Hello there! I've got an issue with python-pylint checker: syl20bnr/spacemacs#13975 It seems to be a flycheck issue but I'm not sure where to look to find out what's going on. Could anyone take a look?
Endre Bakken Stovner
@endrebak
Is there a way to collect a range (colstart-colend) in :error-patterns? I know line and column exist.
shdrums9
@shdrums9
Hello, can somebody explain how I might 'revert' the change that switched from calling flake/pylint executables directly and instead calls them w/ python3? I'm working in an environment where I don't have / can't have a suitable python3 env variable. I think this is the reason I'm seeing "Missing; sys.path is nil" in the 'module' lines of my flycheck verification window
shdrums9
@shdrums9
Specifically, reverting the change discussed here: flycheck/flycheck#1055
davidh38
@davidh38
hey guys, is it possible to let flycheck, check from a root directory. I have my Main.py in src and i get the error of unresolved imports
davidh38
@davidh38
can i check code from a specific root folder?
milochadam
@milochadam
@davidh38 Are you using pylint?
John Ku
@kujohn
Hello, I cannot get fringe indicator to appear for errors from flycheck. Anyway to go about it?
SarthakAdhikari
@SarthakAdhikari
Hi. I am trying to unset the "background" color for flycheck error and warnings. I unticked the background in M-x customize-face RET flycheck-warning but the background color for warning is still there. I tried setting the background to nil but I get "Unable to load color "nil" on my Messages buffer which is as expected. I want it to not display a background color or set the backgroun color to the current buffers background color, making it invisible. How do I achieve this? Thank you.
Artemios
@minikN
Hello. Would someone be able to assist with manipulating the output of a linter? I wrote a checker that executes a linter inside a docker container, the linter returns errors in this form: (error line-start (file-name) ":" line ": " (message) line-end). However the path to the file file-name isn't correct since its relative to the docker container not my host os. So all I need to do is manipulate file-name. I've tried to search the documentation but couldn't find an example on how to do this.
George Singer
@georgewsinger
Does anyone have any thoughts on how to get flycheck synced up with a C++ SCons project? flycheck/flycheck#1839
Peter Oliver
@mavit
I see from https://github.com/flycheck/flycheck/blob/master/CHANGES.rst that development of Flycheck 32 has been frozen since May, but I donʼt see any commits to the flycheck-32 branch since the same month. Did this release get forgotten? Is it time to push it out?
(I ask because Iʼm using version 31, which I just realised is three years old)
Matthew O. Persico
@matthewpersico
Shellcheck for bash scripts has the ability to put a comment in the code before a particular line to make the checker ignore whatever error is on that line. Any way to do that in flycheck, specifically for Perl?
Kon Tsaki
@kontsaki
hello, is there a way to set a property on a predefined checker? i want to change the function for :working-directory of the python-pylint checker
Kon Tsaki
@kontsaki
i think i've achieved that with put
1 reply
Ignat Insarov
@kindaro
Hello! How can I disable error message tool tips?
Björn Bidar
@Thaodan

Hey I want to set flycheck-sh-bash-args so it has "-O extglob" when I do that with:

# -*- mode: sh;flycheck-sh-bash-args: "-O extglob"; -*-

It passes -O\ extglob to bash, how can I make it just not add the escape sign/backslash in the string?

procrastination_machine
@procrastination_machine:matrix.org
[m]
Hello
I'm using flycheck-irony for C++ and irony-server is checking for errors in my imported libraries. How do I disable these errors?
theM0ntarCann0n
@montarcannon
hello i have a question:
why emacs shows me "Bad request" error when i'm trying to install flycheck trough it's bulit-in package manager? emacs version is 26.1 and system is debian buster
theM0ntarCann0n
@montarcannon
how to fix it?
my idea is to install it manuallly
cause it worked for my in case of perlnow
*me
theM0ntarCann0n
@montarcannon
it was problem with my emacs. I fixed it.
Oleksii Filonenko
@Br1ght0ne
Hello everyone. Is there anything like vscode.languages.getDiagnostics() in Flycheck? I want to write a package to get the severity of errors in the current buffer.
I basically want a list of errors with their severity (hint, warning, error).
Thanks!
Fritz Meissner
@iftheshoefritz
hi folks, when there are multiple checkers available for a single language, what determines which of them is used by default in the appropriate mode?
I've seen flycheck-select-checker but that doesn't seem to persist beyond the current buffer
glines
@glines:matrix.org
[m]
Hey all 👋
I'm trying to implement a new checker and the cli command required takes in files as a required command line argument. I've gotten as far as setting up flycheck-define-checker and flycheck recognizes the checker but I'm not sure what to do about the files argument. Essentially, it's checking for a .toml file in the root of your project directory, which it detects and it should also detect all of the .lua files, in this case, in a specific file path. I've tried setting up flycheck-def-args-var and setting that but I can't seem to get to the root of the project programatically. Any feedback would be appreciated.
glines
@glines:matrix.org
[m]
I was able to get the above situation figured out. Now I'm having some issues with the :error-patterns field of flycheck-define-checker. The cli tool that I'm using outputs highly formatted errors. Is that a catch all sort of system that I can use so that the cli tool can use it's formatting but that I don't have to write insane patterns?
Specifically, flycheck shows this error after the cli throws it's errors Compilation exited abnormally with code 1 in the flycheck compilation window
glines
@glines:matrix.org
[m]
I've also tried using source inside of the :command argument with :standard-input set to nil (trying to get rid of the < character) with no luck.
/lib/sys
@freeman:matrix.cuatrolibertades.org
[m]
ehlo :)
how can I change directory for the exectution of my checker?
I'm using stylelint and it requires that I'm positioned on the path of .stylelintrc in order to read rules properly
milochadam
@milochadam
@freeman:matrix.cuatrolibertades.org Maybe you want to set flycheck-stylelintrc variable to .stylelintrc first? Unless you've done that already
Peter Stradinger
@emlprime
Hi. I've been trying to configure my emacs for flymake with javascript-eslint for a few hours now, and I'm running into a wall. Wondered if someone had time and willingness to point me to a solution.
I've searched stackoverflow, read the docs, looked through the diagnosis in C-c ! v. I think I know what the problem is, but I've been unable to fix it so far.
The most frustrating part is that I have a different project on the same machine with an older version of eslint that is working, but I can't figure out what the difference is.
Peter Stradinger
@emlprime
@BenKrocke Did you get an answer? I think I'm having the same problem
Peter Stradinger
@emlprime

Didn't find a "real" solution, but figured out that this function: (defun flycheck-eslint-config-exists-p ()
"Whether there is a valid eslint config for the current buffer."
(let* ((executable (flycheck-find-checker-executable 'javascript-eslint))
(exitcode (and executable (call-process executable nil t nil
"--print-config" "."))))

  (eq exitcode 0)))

Fails because newer versions of eslint require a filename instead of a directory. I fixed it locally by changing the "." argument to "./src/index.js" and recompiling the file with emacs-list-byte-compile

This works for every project I'm working on and enables the eslint checker in my buffers, so I'm happy for the moment.
𝓙𝓸𝓱𝓷𝓱𝓪𝓶𝓮𝓵𝓲𝓷𝓴
@johnhamelink:matrix.org
[m]
inceptor-untraversed
@inceptor-untraversed:matrix.org
[m]
Hello. I was wondering if I could ask the maintainers of the project to create a github release of a recent-ish snapshot of flycheck. While most people install flycheck via melpa, some distros like to include major emacs packages in their repos, and packaging it without a release makes this somewhat more messy.
The most recent github release is from 2017. Also the rules for gentoo packaging mean non "live" builds cannot pull directly from VCS, but I can just use a random recent snapshot if I must.
inceptor-untraversed
@inceptor-untraversed:matrix.org
[m]
This chat seems pretty inactive so I think I'll go ahead and make a github issue, don't take this as me nagging or spamming, I just figured I would try here first :)
the last message was from July!!!