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 6a147fc commit ae8c3fbCopy full SHA for ae8c3fb
backend/src/hatchling/licenses/parse.py
@@ -51,7 +51,7 @@ def normalize_license_expression(raw_license_expression: str) -> str:
51
52
python_expression = ' '.join(python_tokens)
53
try:
54
- result = eval(python_expression) # noqa: PGH001, S307
+ result = eval(python_expression) # noqa: S307
55
except Exception: # noqa: BLE001
56
result = True
57
backend/src/hatchling/version/source/code.py
@@ -55,7 +55,7 @@ def get_version_data(self) -> dict:
sys.path[:] = old_search_paths
# Execute the expression to determine the version
58
- version = eval(expression, vars(module)) # noqa: PGH001, S307
+ version = eval(expression, vars(module)) # noqa: S307
59
60
return {'version': version}
61
0 commit comments