Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/clean python2 leftovers #801

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
sphinx_copybutton
neo4j==5.10.0
pytz>=2021.1
neobolt==1.7.17
six==1.16.0
neo4j~=5.19.0

2 changes: 0 additions & 2 deletions neomodel/async_/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import logging
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion neomodel/scripts/neomodel_inspect_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
::
usage: _neomodel_inspect_database [-h] [--db bolt://neo4j:neo4j@localhost:7687] [--write-to <someapp/models.py> ...]
usage: neomodel_inspect_database [-h] [--db bolt://neo4j:neo4j@localhost:7687] [--write-to <someapp/models.py> ...]
Connects to a Neo4j database and inspects existing nodes and relationships.
Infers the schema of the database and generates Python class definitions.
Expand Down
2 changes: 0 additions & 2 deletions neomodel/scripts/neomodel_install_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
--db bolt://neo4j:neo4j@localhost:7687
Neo4j Server URL
"""
from __future__ import print_function

import sys
import textwrap
from argparse import ArgumentParser, RawDescriptionHelpFormatter
Expand Down
2 changes: 0 additions & 2 deletions neomodel/scripts/neomodel_remove_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
Neo4j Server URL

"""
from __future__ import print_function

import textwrap
from argparse import ArgumentParser, RawDescriptionHelpFormatter
from os import environ
Expand Down
2 changes: 0 additions & 2 deletions neomodel/sync_/core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import logging
import os
import sys
Expand Down
2 changes: 0 additions & 2 deletions test/async_/test_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

from datetime import datetime
from test._async_compat import mark_async_test

Expand Down
2 changes: 0 additions & 2 deletions test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

import os

import pytest
Expand Down
2 changes: 0 additions & 2 deletions test/sync_/test_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

from datetime import datetime
from test._async_compat import mark_sync_test

Expand Down
Loading