Skip to content

Commit

Permalink
MAINT: Update to black 20.8b1
Browse files Browse the repository at this point in the history
Update to latest black
  • Loading branch information
bashtage committed Oct 22, 2020
1 parent 2b8eee8 commit a12d9b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion arch/bootstrap/base.py
Expand Up @@ -709,7 +709,6 @@ def conf_int(
values = results
if method == studentized:
# studentized uses studentized parameter estimates
# assert isinstance(studentized_results, NDArray)
values = cast(NDArray, studentized_results)

if method in ("debiased", "bc", "bias-corrected", "bca"):
Expand Down
Expand Up @@ -92,7 +92,9 @@ def single_experiment(trend, gen: Generator, file_name: str):
help="Number of CPUs to use. If not specified, uses cpu_count() - 1",
)
parser.add_argument(
"--z_only", action="store_true", help="Only execute Z-type tests",
"--z_only",
action="store_true",
help="Only execute Z-type tests",
)
args = parser.parse_args()
njobs = getattr(args, "ncpu", None)
Expand Down
Expand Up @@ -316,7 +316,9 @@ def worker(
help="Number of CPUs to use. If not specified, uses cpu_count() - 1",
)
parser.add_argument(
"--z_only", action="store_true", help="Only execute Z-type tests",
"--z_only",
action="store_true",
help="Only execute Z-type tests",
)
args = parser.parse_args()
njobs = getattr(args, "ncpu", None)
Expand Down
7 changes: 6 additions & 1 deletion arch/utility/testing.py
Expand Up @@ -26,7 +26,12 @@ class WaldTestStatistic(object):
"""

def __init__(
self, stat: float, df: int, null: str, alternative: str, name: str = "",
self,
stat: float,
df: int,
null: str,
alternative: str,
name: str = "",
) -> None:
self._stat = stat
self._null = null
Expand Down

0 comments on commit a12d9b9

Please sign in to comment.