mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
4.7 KiB
4.7 KiB
Pylint-Ignore
WARNING: This file is programatically generated.
This file is parsed by pylint-ignore
to determine which
Pylint messages
should be ignored.
- Do not edit this file manually.
- To update, use
pylint-ignore --update-ignorefile
The recommended approach to using pylint-ignore is:
- If a message refers to a valid issue, update your code rather than ignoring the message.
- If a message should always be ignored (globally), then to do so
via the usual
pylintrcorsetup.cfgfiles rather than thispylint-ignore.mdfile. - If a message is a false positive, add a comment of this form to your code:
# pylint:disable=<symbol> ; explain why this is a false positive
Overview
W0511: fixme
File test/test_patterns.py - Line 14 - W0511 (fixme)
message: TODO (mb 2020-09-06): test for v2patternsauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-18T17:01:05
12: import pycalver2.patterns as v2patterns
13:
> 14: # TODO (mb 2020-09-06): test for v2patterns
15:
16: V2_PART_PATTERN_CASES = [
File src/pycalver/vcs.py - Line 78 - W0511 (fixme)
message: TODO (mb 2018-11-15): Detect encoding of output? Use chardet?author : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-18T17:24:49
68: def __call__(self, cmd_name: str, env: Env = None, **kwargs: str) -> str:
...
76: output_data: bytes = sp.check_output(cmd_str.split(), env=env, stderr=sp.STDOUT)
77:
> 78: # TODO (mb 2018-11-15): Detect encoding of output? Use chardet?
79: _encoding = "utf-8"
80: return output_data.decode(_encoding)
File test/test_version.py - Line 167 - W0511 (fixme)
message: TODO (mb 2020-09-06): add tests for new style patternsauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-18T17:01:05
162: def vnfo(**field_values):
...
165:
166: PARSE_VERSION_TEST_CASES = [
> 167: # TODO (mb 2020-09-06): add tests for new style patterns
168: # ["YYYY.MM.DD" , "2017.06.07", vnfo(year="2017", month="06", dom="07")],
169: ["{year}.{month}.{dom}" , "2017.06.07", vnfo(year="2017", month="06", dom="07")],
File src/pycalver/main.py - Line 229 - W0511 (fixme)
message: TODO (mb 2020-09-05): version switchauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-05T14:30:17
209: def _bump(
...
227:
228: try:
> 229: # TODO (mb 2020-09-05): version switch
230: v1cli.rewrite(cfg, new_version)
231: # v2cli.rewrite(cfg, new_version)
File src/pycalver/config.py - Line 236 - W0511 (fixme)
message: TODO (mb 2020-09-06): new style pattern by defaultauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-18T17:01:05
227: def _parse_config(raw_cfg: RawConfig) -> Config:
...
234: version_str = raw_cfg['current_version'] = version_str.strip("'\" ")
235:
> 236: # TODO (mb 2020-09-06): new style pattern by default
237: # version_pattern: str = raw_cfg.get('version_pattern', "vYYYY0M.BUILD[-TAG]")
238: version_pattern: str = raw_cfg.get('version_pattern', "{pycalver}")
File src/pycalver/main.py - Line 285 - W0511 (fixme)
message: TODO (mb 2020-09-05): version switchauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-05T14:30:17
282: def _update_cfg_from_vcs(cfg: config.Config, fetch: bool) -> config.Config:
...
283: all_tags = vcs.get_tags(fetch=fetch)
284:
> 285: # TODO (mb 2020-09-05): version switch
286: cfg = v1cli.update_cfg_from_vcs(cfg, all_tags)
287: # cfg = v2cli.update_cfg_from_vcs(cfg, all_tags)
File src/pycalver/main.py - Line 392 - W0511 (fixme)
message: # TODO (mb 2020-09-05): format from configauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-05T14:30:17
336: def bump(
...
390: return
391:
> 392: # # TODO (mb 2020-09-05): format from config
393: # commit_message_kwargs = {
394: # new_version
W0703: broad-except
File src/pycalver/main.py - Line 232 - W0703 (broad-except)
message: Catching too general exception Exceptionauthor : Manuel Barkhau <mbarkhau@gmail.com>date : 2020-09-05T14:30:17
209: def _bump(
...
230: v1cli.rewrite(cfg, new_version)
231: # v2cli.rewrite(cfg, new_version)
> 232: except Exception as ex:
233: logger.error(str(ex))
234: sys.exit(1)