Please sign in to comment.
Only lint the direct sources of a linted target. (pantsbuild#7219)
### Problem The thrift linter currently redundantly lints the transitive dependencies of each target, leading to repetitive errors, and larger tool invokes than necessary. ### Solution Lint only the directly owned sources of a target, and expand unit tests.
- Loading branch information...
Showing with 42 additions and 23 deletions.
- +2 −2 contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py
- +4 −4 contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py
- +7 −10 contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_util.py
- +29 −7 contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py