Skip to content

Commit

Permalink
pylint: Work around Python 3.10 pathlib issue
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler authored and twigleingrid committed May 10, 2022
1 parent 0364a1b commit 7226b80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/end2end/fixtures/webserver_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ def view_user_agent():

@app.route('/favicon.ico')
def favicon():
# WORKAROUND for https://github.com/PyCQA/pylint/issues/5783
# pylint: disable-next=no-member,useless-suppression
icon_dir = END2END_DIR.parents[1] / 'icons'
return flask.send_from_directory(
icon_dir, 'qutebrowser.ico', mimetype='image/vnd.microsoft.icon')
Expand Down

0 comments on commit 7226b80

Please sign in to comment.