Skip to content

Commit

Permalink
Merge pull request #18 from jacebrowning/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
jacebrowning committed Jan 10, 2022
2 parents d24ef63 + 3bef89c commit bb92389
Show file tree
Hide file tree
Showing 8 changed files with 894 additions and 554 deletions.
1 change: 1 addition & 0 deletions .pylint.ini
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ disable=
line-too-long,
too-many-locals,
too-many-statements,
consider-using-f-string,

# 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
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ $(MKDOCS_INDEX): docs/requirements.txt mkdocs.yml docs/*.md
@ cd docs/about && ln -sf ../../LICENSE.md license.md
poetry run mkdocs build --clean --strict

# Workaround: https://github.com/rtfd/readthedocs.org/issues/5090
docs/requirements.txt: poetry.lock
@ poetry run pip freeze -qqq | grep mkdocs > $@
@ poetry run pip freeze -qqq | grep Pygments >> $@
@ poetry export --dev --without-hashes | grep mkdocs >> $@
@ poetry export --dev --without-hashes | grep pygments >> $@

.PHONY: uml
uml: install docs/*.png
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def describe_foobar():

and get output like this:

```text
```python
============================= FAILURES =============================
___________________ describe_foobar.it_can_fail ____________________

Expand All @@ -43,7 +43,7 @@ Install it directly into an activated virtual environment:
$ pip install pytest-expecter
```

or add it to your [Poetry](https://poetry.eustace.io/) project:
or add it to your [Poetry](https://python-poetry.org/docs/) project:

```
$ poetry add pytest-expecter
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mkdocs==1.0.4
Pygments==2.6.1
mkdocs==1.2.3; python_version >= "3.6"
pygments==2.11.2; python_version >= "3.5"
2 changes: 1 addition & 1 deletion expecter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __getattr__(self, name):
if is_custom_expectation:
predicate = _custom_expectations[name]
return _CustomExpectation(predicate, self._actual)
return getattr(super(expect, self), name)
return getattr(super(), name)

def __eq__(self, other):
__tracebackhide__ = _hidetraceback() # pylint: disable=unused-variable
Expand Down
Loading

0 comments on commit bb92389

Please sign in to comment.