How to configure phabricator to use only files that match *py ?
Below is my .arclint file:
{ "linters": { "pylint": { "type": "pylint", "include": "(\\.py$)" } } }
which is based on the examples found here: https://secure.phabricator.com/book/phabricator/article/arcanist_lint/
When I run it, I get the following:
$ arc lint No paths are lintable.
If I delete the include line, it tries to tie every file, so there should be something wrong in the regular expression: "(\\.py$)" , which, frankly, looks strange to me, but thatβs exactly what I found in the examples. And "(*.py)" , "*.py" and "^*.py$" are all invalid regular expressions.
source share