-
Notifications
You must be signed in to change notification settings - Fork 5
Some false positives #1
Comments
Thanks, I'll look into it. |
Some more false positives: Specifying a category (happens when copy pasting Cocoa) Incorrect indentation (I'd like to have some freedom here)
Declaring a property
|
What is the error you are getting?
You'll have to discuss it on the list to get some concensus, Alexander agreed with me that everything should be indented at least to the first character of the identifier.
Will be fixed in the next commit, coming soon. |
comparison operator without surrounding spaces. |
Then the method declaration must be malformed (perhaps missing the "-" or return type), because that check is skipped for well-formed method declarations. |
The method declaration is divider over multiple lines. My guess is that it properly skips the first line of the method declaration but doesn't for any subsequent lines. |
CPSplitView lines 628 to 634.
|
Fixed. In actual fact it isn't a false positive, it's just wrongly labeled. The code after the var block is not outdented as it should be. This is specifically flagged in the latest version on master. |
Details of some false positives here: http://gist.github.com/592051
I can't for the life of me figure out what the issue is here, but I think it comes from somewhere around line 300 of capp_lint.py
The text was updated successfully, but these errors were encountered: