Skip to content

Commit

Permalink
Merge pull request #85 from PaulRenvoise/develop
Browse files Browse the repository at this point in the history
Release 1.3.4
  • Loading branch information
PaulRenvoise authored Feb 27, 2023
2 parents 8771f27 + 80d0d34 commit 655162e
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Changelog

## 1.3.4 (27/02/2023)

- Updated dependencies

## 1.3.3 (08/11/2022)

- Updated dependencies
- Added python 3.11 in the CI tests

## 1.3.2 (02/04/2022)

Expand Down
2 changes: 1 addition & 1 deletion flashback/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"timeoutable",
)

__version__ = "1.3.3"
__version__ = "1.3.4"
4 changes: 2 additions & 2 deletions flashback/singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def __init__(self, name):
assert logger_1 != loose_logger_1
```
"""
def __new__(cls, name, bases, namespace, **_kwargs):
return super().__new__(cls, name, bases, namespace)
def __new__(mcs, name, bases, namespace, **_kwargs):
return super().__new__(mcs, name, bases, namespace)

def __init__(cls, name, bases, attributes, strict=True):
"""
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Documentation
mkdocs-material~=8.5.8
mkdocstrings~=0.19.0
mkdocs-coverage~=0.2.5
mkdocs-material==9.0.15
mkdocstrings==0.20.0
mkdocs-coverage==0.2.6

-r requirements-test.txt
10 changes: 5 additions & 5 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Lint
pylint~=2.15.5
pylint==2.16.2

# Test, coverage, and mocking
pytest~=7.2.0
pytest-cov~=4.0.0
mock~=4.0.3
mockredispy~=2.9.3
pytest==7.2.1
pytest-cov==4.0.0
mock==5.0.1
mockredispy==2.9.3

-r requirements.txt
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Caching
redis~=4.3.1
pymemcache~=3.5.2
redis==4.5.1
pymemcache==3.5.2

# Utils
regex~=2022.10.31
Unidecode~=1.3.4
pygments~=2.13.0
cryptography~=38.0.3
regex==2022.10.31
Unidecode==1.3.6
pygments==2.14.0
cryptography==39.0.1
2 changes: 1 addition & 1 deletion tests/debugging/test_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def test_mixed_iterable(self, formatter):

def test_nested_dict(self, formatter):
arguments = [
(None, dict(a=1, b=dict(a=1, b=2, c=dict(a=1, b=2, c=3)), c=3))
(None, {"a": 1, "b": {"a": 1, "b": 2, "c": {"a": 1, "b": 2, "c": 3}}, "c": 3})
]
content = formatter.format("<filename>", "<lineno>", arguments, None)

Expand Down
4 changes: 2 additions & 2 deletions tests/debugging/test_parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=redefined-outer-name,invalid-name
# pylint: disable=redefined-outer-name,invalid-name,disable=comparison-of-constants

import sys

Expand Down Expand Up @@ -72,7 +72,7 @@ def test_parse_complex(self, parser):
a = {"a": 1, "b": 2, "c": 3}
b = [i + 1 for i in range(3)]

_, _, parsed_arguments, _ = parser.parse(a["a"], b, mock_function(1, 2), "a" if a else "b", 1 != 0) # pylint: disable=comparison-of-constants
_, _, parsed_arguments, _ = parser.parse(a["a"], b, mock_function(1, 2), "a" if a else "b", 1 != 0)

assert parsed_arguments == [
("a[\"a\"]", 1),
Expand Down

0 comments on commit 655162e

Please sign in to comment.