-
Notifications
You must be signed in to change notification settings - Fork 1
Watcher compatibility #3
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
|
Please split into two PRs: one to fix things that got broken in the meanwhile ( |
3e59793 to
1e7b81b
Compare
|
I've rebased the branch and after updating the copyright year all but snapshot passes. |
|
Looks fine, but still need some tests and a way to disable this. About the failure on |
Well, the existing tests cover this, and I'd like to advocate not making it disable-able. For starters, we'd need to duplicate a lot of test between the two cases to ensure that they indeed do the same thing. Secondly, the most invasive part of this change (the I would argue that this method is an improvement, in part because of a change I forgot somehow. With this PR, the following becomes unnecessary: ;; When checking project's main file, use the temporary as the main file
;; instead.
"--setup"
,(flycheck-sexp-to-string
`(when (and eldev-project-main-file (file-equal-p eldev-project-main-file ,real-filename))
(setf eldev-project-main-file ,filename)))When we're not faking an empty file to Lastly, in the case that |
7e44e75 to
3389a50
Compare
I added more tests for multifile "project" and rebased your branch. Seems to work fine. I will think about what else to do tomorrow. |
…ev-project-main-file` is still needed.
a9c02c8 to
f06e2b4
Compare
f06e2b4 to
abfbf12
Compare
|
Sorry that it took so long. |
I implemented
flycheck-eldev--checker-substituted-argumentsto handle the'source-inplaceto'sourceconversion first. Then I ran the testsand had lots of failures. Fixing up the
--setup-firstmade all thetests green again.