pinterest / arcanist-linters

A collection of custom Arcanist linters
Apache License 2.0
63 stars 45 forks source link

Pass --filter-files to newer isort versions #20

Closed jparise closed 5 years ago

jparise commented 5 years ago

In isort 4.3.11, the default "skip" behavior changed. Filenames passed on the command line were no longer subject to "skip" rules from the configuration file.

isort 4.3.18 provides the --filter-files command line option that restores that behavior. Pass it when we're running at least that version so that our linter respects the configuration settings.