We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9013f7f commit 62e8753Copy full SHA for 62e8753
2 files changed
Makefile
@@ -5,7 +5,7 @@ test_deps:
5
6
lint:
7
ruff check src
8
- mypy --install-types --non-interactive --check-untyped-defs src
+ mypy --install-types --non-interactive --check-untyped-defs src test.py
9
10
test:
11
coverage run --branch --include 'src/*' -m unittest discover -s test -v
test.py
@@ -194,7 +194,7 @@ def test_input_before_epoch(self):
194
totp = pyotp.TOTP("GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ")
195
# -1 and -29.5 round down to 0 (epoch)
196
self.assertEqual(totp.at(-1), "755224")
197
- self.assertEqual(totp.at(-29.5), "755224")
+ self.assertEqual(totp.at(-29.5), "755224") # type: ignore[arg-type]
198
with self.assertRaises(ValueError):
199
totp.at(-30)
200
0 commit comments