summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2019-11-01 21:36:02 -0400
committerEric N. Vander Weele <ericvw@gmail.com>2019-11-03 01:32:38 +0800
commit3ac3349ef360e508d553765c19ae9f7b9abc51ed (patch)
tree5dcbda4a14c92fb69b219e4d5fa63d2fe46f1d10 /setup.cfg
parentb5157e194d89051f39826d28260f1997ec412908 (diff)
downloadflake8-3ac3349ef360e508d553765c19ae9f7b9abc51ed.tar.gz
application: Simplify creation of configuration file finder
This commit simplifies and updates the method for handling the creation of the configuration file finder. The main takeaways are: - Renaming the parameter (i.e., `extra_config_files`) to be a noun to better describe the input versus what the option name was called. - Refreshed the docstring to align with changes from previous commits and this one. - Remove the check to see if it a configuration file finder was already created. This is not necessary as each entire run of a `flake8` calls this method once. When the programmatic API is provided, configuration would be provided 'in-code' and not rely upon external files/resources. - Use directly the program name from the `Application`, itself since this is the authoritative source for defining it.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions