Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Commit

Permalink
Merge 0e7c8ec into 3c52ac3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Sep 6, 2018
2 parents 3c52ac3 + 0e7c8ec commit bec4a93
Show file tree
Hide file tree
Showing 9 changed files with 133 additions and 140 deletions.
1 change: 1 addition & 0 deletions .pylint.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ disable=print-statement,
too-many-locals,
no-else-return,
arguments-differ,
too-many-statements,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ python:
- 3.4
- 3.5
- 3.6
- 3.7
matrix:
include:
- python: 3.7
dist: xenial
sudo: true

cache:
pip: true
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "pypi"

[requires]

python_version = "3"
python_version = "3.7.0"

[packages]

Expand Down
252 changes: 121 additions & 131 deletions Pipfile.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Configuration file for sniffer."""
# pylint: disable=superfluous-parens,bad-continuation
# pylint: disable=superfluous-parens,bad-continuation,unpacking-non-sequence

import time
import subprocess
Expand All @@ -16,7 +16,7 @@
watch_paths = ["yorm", "tests"]


class Options(object):
class Options:
group = int(time.time()) # unique per run
show_coverage = False
rerun_args = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def build_description():
],

install_requires=[
'PyYAML ~= 3.12',
'PyYAML >= 3.13, < 4',
'simplejson ~= 3.8',
'parse ~= 1.8.0',
],
Expand Down
2 changes: 1 addition & 1 deletion yorm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from .mixins import ModelMixin

__project__ = 'YORM'
__version__ = '1.6a3'
__version__ = '1.6a4'
2 changes: 1 addition & 1 deletion yorm/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _trace(self, message, *args, **kwargs):
# DECORATORS ##################################################################


class classproperty(object):
class classproperty:
"""Read-only class property decorator."""

def __init__(self, getter):
Expand Down
2 changes: 0 additions & 2 deletions yorm/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ def delete(instance):

mapper.delete()

return None


def _instantiate(class_or_instance, *args, **kwargs):
if inspect.isclass(class_or_instance):
Expand Down

0 comments on commit bec4a93

Please sign in to comment.