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
Add tabfiles to jcheck configuration #929
Conversation
The tabfiles setting is just like the files setting, but it lists files in which tabs are allowed.
|
Webrevs
|
How about naming the configuration |
jcheck/src/main/java/org/openjdk/skara/jcheck/WhitespaceCheck.java
Outdated
Show resolved
Hide resolved
Sure. I checked for "prior art" on multiword keywords, but did not find any such instances. :) This will mean that the corresponding Java variable needs a different name, since "-" is not valid in Java identifiers. (And if we're going this way, personally I think |
@magicus This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 22 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@erikj79, @edvbld) but any other Committer may sponsor as well.
|
Looks good in general, but would be nice with a test to see that it still flags trailing tabs (which I think it is meant to do still, right?) |
@rwestberg @edvbld I have now added a test that verifies that trailing tabs are always rejected, and that leading tabs are accepted iff ignore-tabs is true for that file. Ok to integrate now? |
/integrate |
/sponsor |
@rwestberg @magicus Since your change was applied there have been 22 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit d468590. |
The tabfiles setting is just like the files setting, but it lists files in which tabs are allowed.
(This is to support makefiles)
Progress
Reviewers
Download
$ git fetch https://git.openjdk.java.net/skara pull/929/head:pull/929
$ git checkout pull/929