mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
lint fix
This commit is contained in:
parent
3882418dc6
commit
3dd116188a
3 changed files with 4 additions and 2 deletions
4
makefile
4
makefile
|
|
@ -6,7 +6,7 @@ PACKAGE_NAME := pycalver
|
|||
# - `make ipy`
|
||||
# - `make lint`
|
||||
# - `make devtest`
|
||||
DEVELOPMENT_PYTHON_VERSION := python=3.7
|
||||
DEVELOPMENT_PYTHON_VERSION := python=3.8
|
||||
|
||||
# These must be valid (space separated) conda package names.
|
||||
# A separate conda environment will be created for each of these.
|
||||
|
|
@ -18,7 +18,7 @@ DEVELOPMENT_PYTHON_VERSION := python=3.7
|
|||
# - python=3.7
|
||||
# - pypy2.7
|
||||
# - pypy3.5
|
||||
SUPPORTED_PYTHON_VERSIONS := python=2.7 python=3.5 python=3.6 python=3.7 pypy2.7 pypy3.5
|
||||
SUPPORTED_PYTHON_VERSIONS := python=2.7 python=3.5 python=3.6 python=3.8 pypy2.7 pypy3.5
|
||||
|
||||
|
||||
include makefile.bootstrapit.make
|
||||
|
|
|
|||
|
|
@ -160,3 +160,4 @@ disable =
|
|||
missing-module-docstring,
|
||||
missing-class-docstring,
|
||||
missing-function-docstring,
|
||||
raise-missing-from,
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ def diff(new_vinfo: version.VersionInfo, file_patterns: config.PatternsByGlob) -
|
|||
try:
|
||||
rfd = rfd_from_content(pattern_strs, new_vinfo, content)
|
||||
except NoPatternMatch:
|
||||
# pylint:disable=raise-missing-from ; we support py2, so not an option
|
||||
errmsg = f"No patterns matched for '{file_path}'"
|
||||
raise NoPatternMatch(errmsg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue