Skip to content

Commit

Permalink
chg: Update mypy, change accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jun 21, 2021
1 parent 436181e commit 481284d
Show file tree
Hide file tree
Showing 36 changed files with 171 additions and 43 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ examples/cudeso.py
examples/feed-generator/output/*\.json
examples/feed-generator/output/hashes\.csv
examples/feed-generator/settings\.py
examples/feed_generator/output/*\.json
examples/feed_generator/output/hashes\.csv
examples/feed_generator/settings\.py
tests/reportlab_testoutputs/*\.pdf
build/*
dist/*
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions mypy.ini

This file was deleted.

187 changes: 153 additions & 34 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pymisp/data/misp-objects
Submodule misp-objects updated 1 files
+2 −1 unique_uuid.py
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,23 @@ nose = "^1.3.7"
coveralls = "^3.0.1"
codecov = "^2.1.11"
requests-mock = "^1.8.0"
mypy = "^0.812"
mypy = "^0.902"
flake8 = "^3.9.0"
ipython = "^7.16.1"
jupyterlab = "^2.3.1"
types-requests = "^2.25.0"
types-python-dateutil = "^0.1.4"
types-redis = "^3.5.4"
types-Flask = "^1.1.1"

[build-system]
requires = ["poetry_core>=1.0", "setuptools"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
show_error_context = true
pretty = true

[[tool.mypy.overrides]]
module = ["pymisp.data", "pymisp.data.*", "docs.source.*", "examples", "examples.*.*"]
ignore_errors = true
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
from os import path

from setuptools import setup
from setuptools import setup # type: ignore

import pymisp

Expand Down

0 comments on commit 481284d

Please sign in to comment.