Skip to content

Commit

Permalink
Merge pull request sifive#38 from sifive/fix-mypy
Browse files Browse the repository at this point in the history
Run mypy on the entire pydevicetree package
  • Loading branch information
nategraff-sifive authored Dec 18, 2019
2 parents 8140d58 + c181585 commit 8c4eb0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ upload: venv/bin/activate dist

.PHONY: test-types
test-types: venv/bin/activate
. $< && mypy -m pydevicetree
. $< && mypy -p pydevicetree
test: test-types

.PHONY: test-lint
Expand Down
2 changes: 1 addition & 1 deletion pydevicetree/ast/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2019 SiFive Inc.
# SPDX-License-Identifier: Apache-2.0

from typing import Union, Iterator, Optional
from typing import Union, Iterator

class Label:
"""A Label is a unique identifier for a Node
Expand Down

0 comments on commit 8c4eb0f

Please sign in to comment.