Skip to content

Commit

Permalink
298 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Jan 14, 2025
1 parent 3dd065b commit 5c0e20f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions devtools/types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ check-mycpp() {
}

check-doctools() {
if false; then
if true; then
local -a files=(
$(for x in doctools/*.py; do echo $x; done | grep -v '_test.py' )
lazylex/html.py
Expand All @@ -73,7 +73,7 @@ check-doctools() {

# 777 errors before pyann
# 583 afterward
local -a flags=( --py2 --no-strict-optional --strict )
local -a flags=( --py2 --no-strict-optional --strict --follow-imports=silent )
#local -a flags=( --py2 --no-strict-optional )

set -x
Expand Down
4 changes: 2 additions & 2 deletions doctools/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

# many tools import this, causes ImportError
# the oilshell.org/ repo also imports this
#from typing import Any
from typing import Any


def log(msg, *args):
# disabled type: (str, Any) -> None
# type: (str, Any) -> None
if args:
msg = msg % args
print(msg, file=sys.stderr)

0 comments on commit 5c0e20f

Please sign in to comment.