checkmate5 4.0.80__py3-none-any.whl → 4.0.82__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, 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
 
@@ -7,7 +7,6 @@ import yaml
7
7
  import fnmatch
8
8
  from functools import reduce
9
9
  import argparse
10
- from blitzdb import SQLBackend
11
10
  from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String
12
11
  from sqlalchemy.exc import SQLAlchemyError
13
12
  from ..lib.models import Backend
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: checkmate5
3
- Version: 4.0.80
3
+ Version: 4.0.82
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=Myzjf7ChJnObPpMLXv34znMXkeP0Fma54iUN9uSl8AI,20191
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
@@ -80,7 +80,7 @@ checkmate/lib/stats/helpers.py,sha256=X21Pb7dz3PWubDRoqUjbxwonl43TRxqKEcwyM80tS6
80
80
  checkmate/lib/stats/mapreduce.py,sha256=rGdA_HninEZSeowtBn5R02c6wyT5dxcu-0T2ftlMnY0,782
81
81
  checkmate/management/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
82
82
  checkmate/management/decorators.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
83
- checkmate/management/helpers.py,sha256=xsexTnRAc89_J-kcDWGKjy6ZsH-sncwD9GF_fI6kUYQ,5433
83
+ checkmate/management/helpers.py,sha256=GxgjxKcQnyTkPEnwapj37GB9ZJ4G4dfefX4XvMZtp74,5402
84
84
  checkmate/management/commands/__init__.py,sha256=XAi0y8z1NviyGvLB68Oxnzr6Nw5AP8xgbcSSnc1Zcvw,766
85
85
  checkmate/management/commands/alembic.py,sha256=DTWH8hcY6UmWDo0wMwcID_wQIa-es7nyJHV6p1_T4FQ,718
86
86
  checkmate/management/commands/analyze.py,sha256=J1rawVEGjbrXT9ArfUVpfoLNs2JaFkV4mCrBnEIrXaw,1159
@@ -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.82.dist-info/LICENSE.txt,sha256=9cSf5btiPmglu3yzhXkXcf7GNT8XC9o7Y54tfhvfDp8,213739
112
+ checkmate5-4.0.82.dist-info/METADATA,sha256=7o6e_iCOjHQLGmjBt2J3ukM_vrrL89ho57ArMSZBvdY,1234
113
+ checkmate5-4.0.82.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
114
+ checkmate5-4.0.82.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
115
+ checkmate5-4.0.82.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
116
+ checkmate5-4.0.82.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