Annotations
10 errors and 3 warnings
π§Ή Lint with ruff @astral-sh:
hatch_build.py#L31
hatch_build.py:31:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
|
π§Ή Lint with ruff @astral-sh:
hatch_build.py#L31
hatch_build.py:31:9: PLR0133 Two constants compared in a comparison, consider replacing `1 == 2`
|
π§Ή Lint with ruff @astral-sh
Process completed with exit code 1.
|
πͺ Format with ruff @astral-sh
Process completed with exit code 1.
|
β
Verify public API types with BasedPyright
Process completed with exit code 4.
|
β
Type checking with BasedPyright:
hatch_build.py#L8
Import "hatchling.metadata.plugin.interface" could not be resolved (reportMissingImports)
|
β
Type checking with BasedPyright:
hatch_build.py#L15
Method "update" is marked as override, but no base method of same name is present (reportGeneralTypeIssues)
|
β
Type checking with BasedPyright:
tests/test_core.py#L6
Import "pytest" could not be resolved (reportMissingImports)
|
β
Type checking with BasedPyright
3 errors
|
β
Type checking with BasedPyright
Process completed with exit code 1.
|
β
Type checking with BasedPyright:
hatch_build.py#L11
Base class type is unknown, obscuring type of derived class (reportUntypedBaseClass)
|
β
Type checking with BasedPyright:
hatch_build.py#L31
Expression value is unused (reportUnusedExpression)
|
β
Type checking with BasedPyright:
hatch_build.py#L31
Condition will always evaluate to False since the types "Literal[1]" and "Literal[2]" have no overlap (reportUnnecessaryComparison)
|
Loading