Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Feb 6, 2023
1 parent 40a9c37 commit 0a9c9a1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MAC_BLACK = black
FMT_EXCLUDE = --extend-exclude nebula3/common/\|nebula3/storage/\|nebula3/graph/\|nebula3/meta\|nebula3/common\|nebula3/fbthrift/

fmt:
pip install --user black
pip install --user black==23.1.0
@if [ -x $(LINUX_BLACK) ];then \
$(LINUX_BLACK) -S $(FMT_EXCLUDE) .; \
else \
Expand Down
1 change: 0 additions & 1 deletion nebula3/data/DataObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,6 @@ def segments(self):
def __repr__(self):
edge_strs = []
for step in self._path.steps:

relationship = (
Relationship(
GenValue.gen_edge(
Expand Down
3 changes: 2 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ wcwidth==0.2.5
wheel==0.37.0
# via pip-tools
pytest-cov==4.0.0

# via -r requirements/test.in
black==23.1.0
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
1 change: 0 additions & 1 deletion tests/test_graph_storage_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
class TestGraphStorageClient(object):
@staticmethod
def execute_with_retry(conn, session_id, stmt, retry=3):

count = retry
while count > 0:
count -= 1
Expand Down

0 comments on commit 0a9c9a1

Please sign in to comment.