-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blacken notebooks, add flake8 config and script for adding type annot…
…ations (#2177)
- Loading branch information
Showing
44 changed files
with
4,277 additions
and
2,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
max-complexity = 57 | ||
select = B,C,E,F,W,T4,B9 | ||
ignore = E501, E503, E722, W503, W503, E203, B950, B305, B018, B902, B020 | ||
|
||
extend-ignore = | ||
RST303 | ||
|
||
exclude = | ||
.git, | ||
__pycache__, | ||
lib/, | ||
docs/source/conf.py, | ||
build, | ||
dist, | ||
.ipynb_checkpoints, | ||
.tox, | ||
extra, | ||
deprecated, | ||
gdslib, | ||
.tox, | ||
.mypy_cache, | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python | ||
from tqdm.auto import tqdm | ||
|
||
|
||
py.test --monkeytype-output=./monkeytype.sqlite3 | ||
|
||
for i, m in enumerate(tqdm($(monkeytype list-modules).split('\n'))): | ||
if m.startswith(''): | ||
print(i, m) | ||
monkeytype stub @(m) | ||
monkeytype apply @(m) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.