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 83d3ec3 commit 162540dCopy full SHA for 162540d
extra/get_issues.py
@@ -1,5 +1,6 @@
1
import json
2
from pathlib import Path
3
+import sys
4
5
import requests
6
@@ -17,7 +18,7 @@ def get_issues():
17
18
if r.status_code == 403:
19
# API request limit exceeded
20
print(data["message"])
- exit(1)
21
+ sys.exit(1)
22
issues.extend(data)
23
24
# Look for next page
pyproject.toml
@@ -190,7 +190,6 @@ disable = [
190
"consider-using-from-import",
191
"consider-using-f-string",
192
"consider-using-in",
193
- "consider-using-sys-exit",
194
"consider-using-ternary",
195
"consider-using-with",
196
"cyclic-import",
0 commit comments