mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Merge branch 'pyflake-normalize-path' into 'master'
pyflakes: Change to `normalize_path()` for filename normalization See merge request pycqa/flake8!327
This commit is contained in:
commit
f41e87bf37
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class FlakesChecker(pyflakes.checker.Checker):
|
||||||
|
|
||||||
def __init__(self, tree, file_tokens, filename):
|
def __init__(self, tree, file_tokens, filename):
|
||||||
"""Initialize the PyFlakes plugin with an AST tree and filename."""
|
"""Initialize the PyFlakes plugin with an AST tree and filename."""
|
||||||
filename = utils.normalize_paths(filename)[0]
|
filename = utils.normalize_path(filename)
|
||||||
with_doctest = self.with_doctest
|
with_doctest = self.with_doctest
|
||||||
included_by = [
|
included_by = [
|
||||||
include
|
include
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue