Skip to content

Commit e50c39e

Browse files
committed
What is clean code?
1 parent bc21001 commit e50c39e

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

.vscode/launch.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Run nameless* at Release mode.",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"program": "${cwd}/bootstrapper.py",
12+
"console": "internalConsole"
13+
},
14+
{
15+
"name": "Run nameless* at Debug mode.",
16+
"type": "debugpy",
17+
"request": "launch",
18+
"program": "${cwd}/bootstrapper.py",
19+
"console": "internalConsole",
20+
"env": {
21+
"DEBUG": "1"
22+
}
23+
},
24+
]
25+
}

nameless/command/crossover.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from prisma.models import CrossChatConnection, CrossChatMessage, CrossChatRoom
88

99
from nameless import Nameless
10-
from nameless.custom.crud import NamelessPrisma
10+
from nameless.custom.prisma import NamelessPrisma
1111
from nameless.custom.types import NamelessTextable
1212

1313
__all__ = ["CrossOverCommand"]

nameless/custom/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from .crud import *
1+
from .prisma import *
22
from .types import *
File renamed without changes.

0 commit comments

Comments
 (0)