diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-03-29 19:01:59 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2021-03-29 19:01:59 -0700 |
| commit | 1a1d850e99bb28625e47f4aa3c27014a3ac6758a (patch) | |
| tree | 8f8c96385848281021783ccba3821f4bf9a645f5 /src/flake8/checker.py | |
| parent | 434c108f7491b589362752b12979741598bb2dff (diff) | |
| download | flake8-1a1d850e99bb28625e47f4aa3c27014a3ac6758a.tar.gz | |
remove vcs integration
Diffstat (limited to 'src/flake8/checker.py')
| -rw-r--r-- | src/flake8/checker.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/flake8/checker.py b/src/flake8/checker.py index b4ef97d..224bf64 100644 --- a/src/flake8/checker.py +++ b/src/flake8/checker.py @@ -200,7 +200,6 @@ class Manager(object): paths = ["."] filename_patterns = self.options.filename - running_from_vcs = self.options._running_from_vcs running_from_diff = self.options.diff # NOTE(sigmavirus24): Yes this is a little unsightly, but it's our @@ -218,10 +217,8 @@ class Manager(object): # the event that the argument and the filename are identical. # If it was specified explicitly, the user intended for it to be # checked. - explicitly_provided = ( - not running_from_vcs - and not running_from_diff - and (argument == filename) + explicitly_provided = not running_from_diff and ( + argument == filename ) return ( explicitly_provided or matches_filename_patterns |
