checkmate5 4.0.80__py3-none-any.whl → 4.0.81__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checkmate/lib/models.py CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
 
4
- from blitzdb import Document, Backend as BlitzDBBackend
4
+ from blitzdb import Document, Backend as FileBackend
5
5
  from blitzdb.fields import (BooleanField,
6
6
  CharField,
7
7
  DateTimeField,
@@ -180,7 +180,7 @@ class Diff(BaseDocument):
180
180
  snapshot_b = ForeignKeyField('Snapshot', backref='diffs_b')
181
181
 
182
182
  def get_issues_count(self, by_severity=False):
183
- if isinstance(self.backend, BlitzDBBackend):
183
+ if isinstance(self.backend, FileBackend):
184
184
  return self._get_issues_count_sql(by_severity=by_severity)
185
185
  raise NotImplementedError
186
186
 
@@ -294,7 +294,7 @@ class Diff(BaseDocument):
294
294
  'fixed': map_reducer.mapreduce(fixed_issues)}
295
295
 
296
296
  def summarize_issues(self, include_filename=False, ignore=False):
297
- if isinstance(self.backend, BlitzDBBackend):
297
+ if isinstance(self.backend, FileBackend):
298
298
  return self._summarize_issues_sql(include_filename=include_filename, ignore=ignore)
299
299
  raise NotImplementedError
300
300
 
@@ -344,7 +344,7 @@ class Snapshot(BaseDocument):
344
344
  """
345
345
 
346
346
  def summarize_issues(self, include_filename=False, ignore=False):
347
- if isinstance(self.backend, BlitzDBBackend):
347
+ if isinstance(self.backend, FileBackend):
348
348
  return self._summarize_issues_sql(include_filename=include_filename, ignore=ignore)
349
349
  raise NotImplementedError
350
350
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: checkmate5
3
- Version: 4.0.80
3
+ Version: 4.0.81
4
4
  Summary: A meta-code checker written in Python.
5
5
  Author: Andreas Dewes
6
6
  License: AGPL-3.0
@@ -70,7 +70,7 @@ checkmate/helpers/hashing.py,sha256=TcwBFJlciJkLlETQcQBxEWRgwyh2HK9MO4BzN2VMlDU,
70
70
  checkmate/helpers/issue.py,sha256=7wImtI8uZR5VcE_1u7mI8qvEXU97p6Rzkb1bbJkqXKQ,3841
71
71
  checkmate/helpers/settings.py,sha256=97zsz4vNq7EpUpRME4XQvvp5LUp3618ZvSfNTce_4j4,322
72
72
  checkmate/lib/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
73
- checkmate/lib/models.py,sha256=Hzdi2IH7fpSDjWV6Q5m8xpGYZytnItlEW7pTxVMYgSc,20214
73
+ checkmate/lib/models.py,sha256=SQGgq7KIVidVD6_AsLu765DE1iJtgyfNBVmxcLJsGS4,20202
74
74
  checkmate/lib/analysis/__init__.py,sha256=_JpM1GkChWCfLKqPqEz3-8DCPwNe7lPwQDMoF_6Ore0,45
75
75
  checkmate/lib/analysis/base.py,sha256=R9Zy6rKKCw1LSAsBBBaBbgFEo6Fkdx8DTtp7bsYoywE,3309
76
76
  checkmate/lib/code/__init__.py,sha256=a_z91IbpJCeWSjv4Qh2NAlcLhSfesGJ_fFXiz7i5JGI,84
@@ -108,9 +108,9 @@ checkmate/scripts/manage.py,sha256=mpioBaxzirAKXZtbxO-y4dbOcc6UoP0MaAMsNuKHbz0,4
108
108
  checkmate/settings/__init__.py,sha256=z32hPz-kGS-tTGa6dWCFjrrrbS_eagLd-YrqBP3gjWI,33
109
109
  checkmate/settings/base.py,sha256=3WBXZITqoWepIja96bo5JTi-TDpQALPTCugL0E8z-yE,4551
110
110
  checkmate/settings/defaults.py,sha256=HJoZIin2BHT_gBCngGZNh7WgSNLqIDTK--iW7hXez4Q,5084
111
- checkmate5-4.0.80.dist-info/LICENSE.txt,sha256=9cSf5btiPmglu3yzhXkXcf7GNT8XC9o7Y54tfhvfDp8,213739
112
- checkmate5-4.0.80.dist-info/METADATA,sha256=x-r4J5bHDJ6DVydfWSipbpSc_6nI_uMF3B-TEOL6cQ4,1234
113
- checkmate5-4.0.80.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
114
- checkmate5-4.0.80.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
115
- checkmate5-4.0.80.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
116
- checkmate5-4.0.80.dist-info/RECORD,,
111
+ checkmate5-4.0.81.dist-info/LICENSE.txt,sha256=9cSf5btiPmglu3yzhXkXcf7GNT8XC9o7Y54tfhvfDp8,213739
112
+ checkmate5-4.0.81.dist-info/METADATA,sha256=bQwmnClEqNv2PRPEPyf-PcAT9OWJswxLnsA5Px7pSOY,1234
113
+ checkmate5-4.0.81.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
114
+ checkmate5-4.0.81.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
115
+ checkmate5-4.0.81.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
116
+ checkmate5-4.0.81.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.4.0)
2
+ Generator: setuptools (75.5.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5