Skip to content

Commit 6bd4aa8

Browse files
committed
Fix E712 lint config regression and dedupe env export
1 parent fba17e7 commit 6bd4aa8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.envrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,3 @@ export VIRTUAL_ENV="${PWD}/.venv"
2626
PATH_add "${PWD}/.venv/bin"
2727

2828
. scripts/rust-envvars
29-
30-
export DOGSTATSD_HOST='localhost'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ select = [
115115
ignore = [
116116
"E501", # line too long (handled by formatter)
117117
"E402", # module level import not at top of file
118+
"E712", # comparisons to True/False are common in tests
118119
]
119120

120121
[tool.mypy]

0 commit comments

Comments
 (0)