Skip to content

Commit

Permalink
fix flake8 issues
Browse files Browse the repository at this point in the history
- Remove some unused imports
- ignore flake8 errors E701 and E704 because they conflict with the
  latest version of `black`
  • Loading branch information
Jasha10 committed Feb 22, 2024
1 parent 4f1817e commit 1a6c3c9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ max-line-length = 119
copyright-check = True
select = E,F,W,C
copyright-regexp=Copyright \(c\) Facebook, Inc. and its affiliates. All Rights Reserved
ignore=W503,E203
ignore=W503,E203,E701,E704
3 changes: 1 addition & 2 deletions tests/instantiate/test_positional_only_arguments.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import sys
from typing import Any

from pytest import mark, param, skip
from pytest import mark, param

from hydra.utils import instantiate

Expand Down
1 change: 0 additions & 1 deletion tests/test_config_repository.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import copy
import re
import sys
import zipfile
from typing import Any, List

Expand Down
1 change: 0 additions & 1 deletion tools/configen/configen/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import sys
from enum import Enum
from typing import Any, Dict, Iterable, List, Optional, Set

Expand Down

0 comments on commit 1a6c3c9

Please sign in to comment.