Skip to content

Commit

Permalink
Fix import sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Sep 13, 2024
1 parent bdbd036 commit 0e7b3d6
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions dev/flwr_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"""Flower command line interface."""

import typer
from typer.main import get_command
from flwr_dev.check_pr_title import check_title
from flwr_dev.build_example_docs import build_examples
from flwr_dev.build_docker_image_matrix import build_images
from flwr_dev.build_example_docs import build_examples
from flwr_dev.check_copyright import check_copyrights
from flwr_dev.check_pr_title import check_title
from flwr_dev.init_py_check import check_init
from flwr_dev.init_py_fix import fix_init
from flwr_dev.protoc import compile_protos
from flwr_dev.update_changelog import generate_changelog
from typer.main import get_command

cli = typer.Typer(
help=typer.style(
Expand Down
1 change: 1 addition & 0 deletions dev/flwr_dev/build_example_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import shutil
import subprocess
from pathlib import Path

from flwr_dev.common import get_git_root

ROOT = get_git_root()
Expand Down
3 changes: 1 addition & 2 deletions dev/flwr_dev/check_pr_title.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
import pathlib
import re
import sys
import tomli
from typing import Annotated

import tomli
import typer

from flwr_dev.common import get_git_root


Expand Down
3 changes: 1 addition & 2 deletions dev/flwr_dev/fix_copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
import os
import sys
from pathlib import Path
from typing import List, Annotated
from typing import Annotated, List

import typer

from flwr_dev.check_copyright import COPYRIGHT_FORMAT, _get_file_creation_year
from flwr_dev.init_py_check import get_init_dir_list_and_warnings

Expand Down
2 changes: 1 addition & 1 deletion dev/flwr_dev/init_py_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re
import sys
from pathlib import Path
from typing import List, Tuple, Annotated
from typing import Annotated, List, Tuple

import typer

Expand Down
3 changes: 1 addition & 2 deletions dev/flwr_dev/init_py_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@

import os
import sys
from typing import List, Annotated
from typing import Annotated, List

import black
import typer

from flwr_dev.init_py_check import get_all_var_list, get_init_dir_list_and_warnings


Expand Down
3 changes: 1 addition & 2 deletions dev/flwr_dev/protoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
import glob
from os import path

from flwr_dev.common import get_git_root

import grpc_tools
from flwr_dev.common import get_git_root
from grpc_tools import protoc

GRPC_PATH = grpc_tools.__path__[0]
Expand Down
2 changes: 1 addition & 1 deletion dev/flwr_dev/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from sys import argv
from typing import Annotated

from github import Github
import typer
from github import Github

REPO_NAME = "adap/flower"
CHANGELOG_FILE = "doc/source/ref-changelog.md"
Expand Down

0 comments on commit 0e7b3d6

Please sign in to comment.