Skip to content

Commit 9db9d61

Browse files
author
Drew Yang
committed
fix: 🐛 pre-commit auto fix
1 parent f411ed6 commit 9db9d61

File tree

144 files changed

+1501
-1382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1501
-1382
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ branch = False
33
source = datajoint
44

55
[report]
6-
show_missing = True
6+
show_missing = True

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
}
4848
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
4949
// "remoteUser": "devcontainer"
50-
}
50+
}

.devcontainer/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ services:
2929

3030
# Overrides default command so things don't shut down after the process ends.
3131
command: /bin/sh -c "while sleep 1000; do :; done"
32-

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ build
33
*.egg-info
44
dist
55
.vscode
6-
__pycache__
6+
__pycache__

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
export UPSTREAM_REPO=https://github.com/${GITHUB_REPOSITORY}.git
1717
export HOST_UID=$(id -u)
1818
docker compose -f docs/docker-compose.yaml up --exit-code-from docs --build
19-
git push origin gh-pages
19+
git push origin gh-pages

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"justMyCode": false
1414
}
1515
]
16-
}
16+
}

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55

66
# Welcome to DataJoint for Python!
77

8-
DataJoint for Python is a framework for scientific workflow management based on
9-
relational principles. DataJoint is built on the foundation of the relational data
10-
model and prescribes a consistent method for organizing, populating, computing, and
8+
DataJoint for Python is a framework for scientific workflow management based on
9+
relational principles. DataJoint is built on the foundation of the relational data
10+
model and prescribes a consistent method for organizing, populating, computing, and
1111
querying data.
1212

13-
DataJoint was initially developed in 2009 by Dimitri Yatsenko in Andreas Tolias' Lab at
14-
Baylor College of Medicine for the distributed processing and management of large
15-
volumes of data streaming from regular experiments. Starting in 2011, DataJoint has
16-
been available as an open-source project adopted by other labs and improved through
13+
DataJoint was initially developed in 2009 by Dimitri Yatsenko in Andreas Tolias' Lab at
14+
Baylor College of Medicine for the distributed processing and management of large
15+
volumes of data streaming from regular experiments. Starting in 2011, DataJoint has
16+
been available as an open-source project adopted by other labs and improved through
1717
contributions from several developers.
18-
Presently, the primary developer of DataJoint open-source software is the company
18+
Presently, the primary developer of DataJoint open-source software is the company
1919
DataJoint (https://datajoint.com).
2020

2121
## Data Pipeline Example

datajoint/__init__.py

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,23 @@
5555
"cli",
5656
]
5757

58-
from .logging import logger
59-
from .version import __version__
60-
from .settings import config
61-
from .connection import conn, Connection
62-
from .schemas import Schema
63-
from .schemas import VirtualModule, list_schemas
64-
from .table import Table, FreeTable
65-
from .user_tables import Manual, Lookup, Imported, Computed, Part
66-
from .expression import Not, AndList, U, Top
67-
from .diagram import Diagram
68-
from .admin import set_password, kill
58+
from . import errors
59+
from .admin import kill, set_password
60+
from .attribute_adapter import AttributeAdapter
6961
from .blob import MatCell, MatStruct
62+
from .cli import cli
63+
from .connection import Connection, conn
64+
from .diagram import Diagram
65+
from .errors import DataJointError
66+
from .expression import AndList, Not, Top, U
7067
from .fetch import key
7168
from .hash import key_hash
72-
from .attribute_adapter import AttributeAdapter
73-
from . import errors
74-
from .errors import DataJointError
75-
from .cli import cli
69+
from .logging import logger
70+
from .schemas import Schema, VirtualModule, list_schemas
71+
from .settings import config
72+
from .table import FreeTable, Table
73+
from .user_tables import Computed, Imported, Lookup, Manual, Part
74+
from .version import __version__
7675

7776
ERD = Di = Diagram # Aliases for Diagram
7877
schema = Schema # Aliases for Schema

datajoint/admin.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import pymysql
1+
import logging
22
from getpass import getpass
3+
4+
import pymysql
35
from packaging import version
6+
47
from .connection import conn
58
from .settings import config
69
from .utils import user_choice
7-
import logging
810

911
logger = logging.getLogger(__name__.split(".")[0])
1012

datajoint/attribute_adapter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import re
2+
23
from .errors import DataJointError, _support_adapted_types
34
from .plugin import type_plugins
45

0 commit comments

Comments
 (0)