Skip to content
Merged
Prev Previous commit
blackify
  • Loading branch information
dimitri-yatsenko committed Jul 3, 2025
commit ac141e7c41141ae74608613b1775b58104355416
2 changes: 1 addition & 1 deletion datajoint/autopopulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def make(self, key):
# user must implement `make`
raise NotImplementedError(
"Subclasses of AutoPopulate must implement the method `make` "
"or (`make_fetch` + `make_compute` + `make_insert`)"
"or (`make_fetch` + `make_compute` + `make_insert`)"
)

# User has implemented `_fetch`, `_compute`, and `_insert` methods instead
Expand Down
4 changes: 2 additions & 2 deletions datajoint/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def read_blob(self, n_bytes=None):
"S": self.read_struct, # matlab struct array
"C": self.read_cell_array, # matlab cell array
# basic data types
"\xFF": self.read_none, # None
"\xff": self.read_none, # None
"\x01": self.read_tuple, # a Sequence (e.g. tuple)
"\x02": self.read_list, # a MutableSequence (e.g. list)
"\x03": self.read_set, # a Set
Expand Down Expand Up @@ -401,7 +401,7 @@ def read_none(self):

@staticmethod
def pack_none():
return b"\xFF"
return b"\xff"

def read_tuple(self):
return tuple(
Expand Down
2 changes: 1 addition & 1 deletion datajoint/condition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" methods for generating SQL WHERE clauses from datajoint restriction conditions """
"""methods for generating SQL WHERE clauses from datajoint restriction conditions"""

import collections
import datetime
Expand Down
2 changes: 1 addition & 1 deletion datajoint/preview.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" methods for generating previews of query expression results in python command line and Jupyter """
"""methods for generating previews of query expression results in python command line and Jupyter"""

from .settings import config

Expand Down
Loading