Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bagel897 committed Feb 1, 2024
1 parent 97cfe93 commit 5b78bb9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions rope/contrib/autoimport/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@

import contextlib
import json
import re
from hashlib import sha256
import secrets
import re
import sqlite3
import sys
import warnings
from collections import OrderedDict
from concurrent.futures import Future, ProcessPoolExecutor, as_completed
from copy import deepcopy
from datetime import datetime
from hashlib import sha256
from itertools import chain
from pathlib import Path
from threading import local
Expand Down Expand Up @@ -671,7 +670,7 @@ def _resource_to_module(
self, resource: Resource, underlined: bool = False
) -> ModuleFile:
assert self.project_package.path
underlined = underlined if underlined else self.prefs.underlined
underlined = underlined if underlined else self.underlined
resource_path: Path = resource.pathlib
# The project doesn't need its name added to the path,
# since the standard python file layout accounts for that
Expand Down

0 comments on commit 5b78bb9

Please sign in to comment.