Skip to content

Commit

Permalink
Updated mypy and pylint (#54)
Browse files Browse the repository at this point in the history
This change updates mypy to 0.782 and pylint to 2.6.0 to keep track with
the time.
  • Loading branch information
mristin committed Oct 8, 2020
1 parent 50129f8 commit 416dd47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mapry/py/generate/__init__.py
Expand Up @@ -152,8 +152,7 @@ def order_by_optional(properties: Mapping[str, mapry.Property]
:param properties: properties of a composite
:return: list of properties sorted stable by ``optional`` attribute
"""
return sorted([prop for prop in properties.values()],
key=lambda prop: prop.optional)
return sorted(properties.values(), key=lambda prop: prop.optional)


class AutoID:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -46,8 +46,8 @@
'dev': [
'coverage>=4.5.1,<5',
'pydocstyle>=3.0.0,<4',
'mypy==0.670',
'pylint==2.3.0',
'mypy==0.782',
'pylint==2.6.0',
'yapf==0.27.0',
'temppathlib>=1.0.3,<2',
'isort>=4.3.4,<5',
Expand Down

0 comments on commit 416dd47

Please sign in to comment.