mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 12:36:54 +00:00
Revert "Prefer .flake8 if present for options."
The intended behaviour already existed.
This reverts commit db9d4ad8b4.
This commit is contained in:
parent
15745558c1
commit
75e1c1efbf
2 changed files with 13 additions and 15 deletions
|
|
@ -41,9 +41,7 @@ class ConfigFileFinder(object):
|
|||
self.program_name = program_name
|
||||
|
||||
# List of filenames to find in the local/project directory
|
||||
self.project_filenames = (
|
||||
self.program_config,
|
||||
) + self.PROJECT_FILENAMES
|
||||
self.project_filenames = ('setup.cfg', 'tox.ini', self.program_config)
|
||||
|
||||
self.local_directory = os.path.abspath(os.curdir)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue