Skip to content

Commit

Permalink
Merge pull request #12 from carstencodes/bugfixes/var-not-found
Browse files Browse the repository at this point in the history
Variable not found
  • Loading branch information
carstencodes authored Feb 21, 2022
2 parents 1437f6d + b99faef commit e7a2097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "flake518"
version = "1.2.1"
version = "1.2.2"
description = "A small wrapper around flake8 to support PEP518 pyproject.toml as configuration file."
authors = [
{name = "Carsten Igel", email = "cig@bite-that-bit.de"},
Expand Down
2 changes: 1 addition & 1 deletion src/flake518/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _get_os_var_value(var_name: str) -> bool:
var_value: Optional[str] = os.getenv(var_name)

if var_value is not None:
return bool(flake518_dbg_env)
return bool(var_value)

return False

Expand Down

0 comments on commit e7a2097

Please sign in to comment.