| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
options: Forward `--output-file` to be reparsed for BaseFormatter
Closes #637
See merge request pycqa/flake8!427
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a regression introduced in daca2c8 and b14d47b.
The --output-file` option was consumed by the preliminary option parser.
However, the `BaseFormatter` class needs the option for setting the
output filename. This special cases this option to ensure it gets
re-parsed and respected when specified on the CLI.
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix using --exclude=.* to not match `.` and `..`
Closes #632
See merge request pycqa/flake8!424
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
switch dogfood to use python3
See merge request pycqa/flake8!423
|
| | |/ / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Fix logical checks which report position out of bounds
Closes #635
See merge request pycqa/flake8!422
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add deprecation message for vcs hooks
Closes #568
See merge request pycqa/flake8!420
|
| | | | |
| | | |
| | | |
| | | | |
https://github.com/PyCQA/pylint/issues/3524
|
| |/ / / |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix type='str' optparse options
See merge request pycqa/flake8!419
|
| |/ / / |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Allow the new pycodestyle alpha
See merge request pycqa/flake8!418
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Support pyflakes 2.2.x
Closes #625
See merge request pycqa/flake8!417
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Docs: Fix typo
See merge request pycqa/flake8!416
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
docs: Add missing semicolon to term link
See merge request pycqa/flake8!415
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
instrument coverage on tests and require 100% coverage there
See merge request pycqa/flake8!414
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow noqa to apply to lines due to continuation
Closes #375
See merge request pycqa/flake8!413
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Upgrade pip in gitlab ci without using get-pip.py
See merge request pycqa/flake8!411
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
config: Determine path to user configuration immediately
See merge request pycqa/flake8!409
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
config: Remove checks for configs being previously parsed
See merge request pycqa/flake8!408
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
Remove the checks to see if a configuration file has already been seen
and parsed. These checks aren't necessary because the entire run of
`flake8` calls these methods *only* once per configuration provided.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure that a not-found file produces an error
Closes #600
See merge request pycqa/flake8!404
|
| | | | |
| | | |
| | | |
| | | | |
- this restores a flake8 2.x behaviour that was lost in the refactor
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
document that contents may appear before/after a noqa comment
Closes #528
See merge request pycqa/flake8!407
|
| | |/ / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
split lines the same when read from stdin
Closes #270
See merge request pycqa/flake8!406
|
| | |/ / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix the type= warning to contain the option name
See merge request pycqa/flake8!405
|
| | |/ / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Some typo fixes in git hooks docs
See merge request pycqa/flake8!403
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
config: Make ConfigFileFinder 'extra_config_files' parameter optional
See merge request pycqa/flake8!402
|
| |/ / /
| | |
| | |
| | |
| | | |
This simplifies the number of required parameters needed for the
`ConfigFileFinder` object throughout the various tests.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Determine config file override from the ConfigFileFinder object
See merge request pycqa/flake8!401
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that `ConfigFileFinder.config_file` attribute is used everywhere and
is constructed from the `--config` CLI option, the now unused
`cli_config` parameters can be safely removed.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that the `ConfigFileFinder` has the `.config_file` attribute, switch
the relevant code paths to utilize this public attribute.
Tests have been updated to either construct `ConfigFileFinder` or mock
the object appropriately.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `--config` flag is passed into `MergedConfigParser.parse()` and the
module-level function `config.get_local_plugins()`. Since both of these
places utilize the `ConfigFileFinder` object and the configuration file
override pertains to how configuration behaves, this incremental change
directly associates the `ConfigFileFinder` and the configuration file
override.
|