flake8/tests
Eric N. Vander Weele aab1f14375 config: Determine path to user configuration immediately
Preemptively determine the path of the user configuration file during
the construction of the `ConfigFileFinder` object.  The user
configuration path will always be the same, regardless of when it gets
obtained by a run of `flake8`.

This isolates the logic of determining the user configuration path into
a static helper method to be called to set the `.user_config_file`
attribute.  The helper method leverages `utils.is_windows()`, instead of
reimplementing the check, and decomposes clearly the directory name and
the base name to construct the path with a single `return` path.
Additionally, this avoids reconstructing the path on demand of obtaining
the user configuration file path.
2020-01-20 16:54:50 -05:00
..
fixtures options: Remove parsing --verbose from the configuration file 2019-10-12 14:25:50 +01:00
integration Merge branch 'file_not_found_error' into 'master' 2020-01-16 22:59:38 +00:00
unit config: Determine path to user configuration immediately 2020-01-20 16:54:50 -05:00
__init__.py mypy now passes 2019-05-19 17:31:04 -07:00
conftest.py Add a docstring to conftest 2016-01-10 13:15:25 -06:00