Skip to content

Commit ab36db4

Browse files
chore(deps-dev): bump mypy from 1.3.0 to 1.4.0 (#395)
* chore(deps-dev): bump mypy from 1.3.0 to 1.4.0 Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1.4.0. - [Commits](python/mypy@v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * style: ignore type confusion Signed-off-by: Jan Kowalleck <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Jan Kowalleck <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jan Kowalleck <[email protected]>
1 parent 90b339b commit ab36db4

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

cyclonedx/model/vulnerability.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def get_value_pre_1_4(self) -> str:
544544
"""
545545
if self == VulnerabilityScoreSource.OWASP:
546546
return 'OWASP Risk'
547-
return self.value
547+
return self.value # type: ignore
548548

549549

550550
class VulnerabilitySeverity(str, Enum):

poetry.lock

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ flake8-bugbear = "^22.7.1"
6161
flake8-isort = "^4.1.2"
6262
isort = "^5.11.5" # last version supporting Python 3.7
6363
jsonschema = ">= 4.4.0"
64-
mypy = "^1.3.0"
64+
mypy = "^1.4.0"
6565
lxml = ">=4.7.0"
6666
tox = "^3.2.8"
6767
xmldiff = ">=2.4"

0 commit comments

Comments
 (0)