Skip to content

Commit

Permalink
Update dependencies and pylint regex to support 2.5 in a backwards co…
Browse files Browse the repository at this point in the history
…mpatable way
  • Loading branch information
Bachmann1234 committed Sep 20, 2022
1 parent 12c5f08 commit e57a7b0
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 56 deletions.
2 changes: 1 addition & 1 deletion diff_cover/violationsreporters/violations_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def measured_lines(self, src_path):
# Match lines of the form:
# path/to/file.py:328: undefined name '_thing'
# path/to/file.py:418: 'random' imported but unused
expression=r"^([^:]+):(\d+):\d* (.*)$",
expression=r"^([^:]+):(\d+):\d*:? (.*)$",
command_to_check_install=["pyflakes", "--version"],
# pyflakes exit code is 1 if there are violations
# https://github.com/PyCQA/pyflakes/blob/master/pyflakes/api.py#L211
Expand Down
95 changes: 46 additions & 49 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ diff-cover = 'diff_cover.diff_cover_tool:main'
diff-quality = 'diff_cover.diff_quality_tool:main'

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.7.2"
Pygments = "^2.9.0"
Jinja2 = ">=2.7.1"
pluggy = ">=0.13.1,<2"
Expand All @@ -51,15 +51,15 @@ setuptools = { version = ">=17.0.0", python = "<3.8" }
pytest-cov = "^3.0.0"
pytest-datadir = "^1.3.1"
pytest-mock = "^3.6.1"
pycodestyle = ">=2.8.0"
flake8 = "^4.0.1"
pyflakes = "^2.4.0"
pylint = "^2.12.1"
pycodestyle = ">=2.9.1"
flake8 = "^5.0.4"
pyflakes = "^2.5.0"
pylint = "^2.15.3"
pylint-pytest = "^1.1.2"
pydocstyle = "^6.1.1"
black = "^22.8.0"
isort = "^5.10.1"
doc8 = "0.10.1"
doc8 = "1.0.0"

[tool.poetry.extras]
toml = ["tomli"]
Expand Down

0 comments on commit e57a7b0

Please sign in to comment.