Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: remove unnecessary dependency on libcst (#220)
Co-authored-by: Tres Seaver <tseaver@palladion.com>
Co-authored-by: Christopher Wilcox <crwilcox@google.com>
  • Loading branch information
3 people committed Oct 23, 2020
1 parent 30bb3fb commit cd358db
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
7 changes: 6 additions & 1 deletion scripts/fixup_admin_v1_keywords.py
Expand Up @@ -17,7 +17,12 @@

import argparse
import os
import libcst as cst

try:
import libcst as cst
except ImportError as exception:
raise ImportError('Run python -m pip install "libcst >= 0.2.5" command to install libcst.')

import pathlib
import sys
from typing import (Any, Callable, Dict, List, Sequence, Tuple)
Expand Down
7 changes: 6 additions & 1 deletion scripts/fixup_firestore_admin_v1_keywords.py
Expand Up @@ -17,7 +17,12 @@

import argparse
import os
import libcst as cst

try:
import libcst as cst
except ImportError as exception:
raise ImportError('Run `python -m pip install "libcst >= 0.2.5"` to install libcst.')

import pathlib
import sys
from typing import (Any, Callable, Dict, List, Sequence, Tuple)
Expand Down
7 changes: 6 additions & 1 deletion scripts/fixup_firestore_v1_keywords.py
Expand Up @@ -17,7 +17,12 @@

import argparse
import os
import libcst as cst

try:
import libcst as cst
except ImportError as exception:
raise ImportError('Run `python -m pip install "libcst >= 0.2.5"` to install libcst.')

import pathlib
import sys
from typing import (Any, Callable, Dict, List, Sequence, Tuple)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -28,7 +28,6 @@
"google-api-core[grpc] >= 1.22.1, < 2.0.0dev",
"google-cloud-core >= 1.4.1, < 2.0dev",
"pytz",
"libcst >= 0.2.5",
"proto-plus >= 1.3.0",
]
extras = {}
Expand Down

0 comments on commit cd358db

Please sign in to comment.