Skip to content

Commit

Permalink
Fix flake8 F821 errors
Browse files Browse the repository at this point in the history
This is for using a variable that isn't defined.

This only had some false-positives, which are worked around in this
commit.  But it seems like a good check to be running for the future.
  • Loading branch information
jbytheway committed Sep 16, 2020
1 parent 0fc6ebb commit f9e5bb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ignore =
E713,
E722,
E731,
F821,
F841,
W291,
W391,
Expand Down
4 changes: 4 additions & 0 deletions build-data/osx/dmgsettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
import biplist
import os.path

# defines is provided by dmgbuild, but pretend to define it here for the
# beneit of linting tools.
defines = defines # noqa: F821

# .. Useful stuff ..............................................................

application = defines.get('app', 'Cataclysm.app')
Expand Down

0 comments on commit f9e5bb1

Please sign in to comment.