Skip to content

Commit 8039635

Browse files
author
Marius Conjeaud
committed
Remove async suffix for methods in async classes
1 parent 0d92dab commit 8039635

40 files changed

+654
-709
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ development.env
1515
.ropeproject
1616
\#*\#
1717
.eggs
18-
bin
1918
lib
2019
.vscode
2120
pyvenv.cfg

.pre-commit-config.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 22.3.0
4-
hooks:
5-
- id: black
62
- repo: https://github.com/PyCQA/isort
73
rev: 5.11.5
84
hooks:
@@ -11,6 +7,6 @@ repos:
117
hooks:
128
- id: unasync
139
name: unasync
14-
entry: dev-scripts/make-unasync
10+
entry: bin/make-unasync
1511
language: system
1612
files: "^(neomodel/_async|test/async_)/.*"

dev-scripts/make-unasync bin/make-unasync

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import collections
44
import errno

neomodel/__init__.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# TODO : Check imports here
33
from neomodel._async.core import (
44
StructuredNodeAsync,
5-
change_neo4j_password_async,
6-
clear_neo4j_database_async,
7-
drop_constraints_async,
8-
drop_indexes_async,
9-
install_all_labels_async,
10-
install_labels_async,
11-
remove_all_labels_async,
5+
change_neo4j_password,
6+
clear_neo4j_database,
7+
drop_constraints,
8+
drop_indexes,
9+
install_all_labels,
10+
install_labels,
11+
remove_all_labels,
1212
)
1313
from neomodel.cardinality import One, OneOrMore, ZeroOrMore, ZeroOrOne
1414
from neomodel.exceptions import *

0 commit comments

Comments
 (0)