Skip to content

Commit

Permalink
Fix: TypeError: unsupported operand type(s) for +: 'NoneType' and 'Pa…
Browse files Browse the repository at this point in the history
…thSpec'
  • Loading branch information
hadialqattan committed May 11, 2021
1 parent 12209dc commit 87880fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/files.py
Expand Up @@ -212,7 +212,7 @@ def gen_python_files(
extend_exclude,
force_exclude,
report,
gitignore + get_gitignore(child),
gitignore + get_gitignore(child) if gitignore else None,
)

elif child.is_file():
Expand Down

0 comments on commit 87880fe

Please sign in to comment.