Skip to content

Commit

Permalink
pre-commit: remove python3.8 pining
Browse files Browse the repository at this point in the history
* add six to pylint
* update part of using latest black
  • Loading branch information
fruch committed Apr 3, 2024
1 parent a546ef2 commit dc80c53
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ repos:
rev: v2.3.1
hooks:
- id: pylint
name: pylint38
language_version: python3.8
name: pylint
additional_dependencies:
- pytest
- requests
- requests-mock
- six

- repo: https://github.com/python/black
rev: stable
hooks:
- id: black
language_version: python3.8
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ pytest-cov
tox
wheel>=0.33.0
pytest-xdist
six
20 changes: 10 additions & 10 deletions tests/test_elk_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,16 @@ def test_skip_in_teardown(skip_in_teardown):

last_report = json.loads(requests_mock.request_history[-1].text)
assert last_report["stats"] == {
u"error": 1,
u"failure": 2,
u"failure & error": 1,
u"passed": 0,
u"skipped & error": 1,
u"passed & error": 1,
u"skipped": 3,
u"xfailed": 1,
u"xpass": 1,
u"error & error": 0,
"error": 1,
"failure": 2,
"failure & error": 1,
"passed": 0,
"skipped & error": 1,
"passed & error": 1,
"skipped": 3,
"xfailed": 1,
"xpass": 1,
"error & error": 0,
}


Expand Down

0 comments on commit dc80c53

Please sign in to comment.