Lint test failed because of tox.ini

Bug #2025738 reported by Chi Wai CHAN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-fstab-config
Fix Released
Undecided
Chi Wai CHAN

Bug Description

`make lint` failed because of

```
lint run-test: commands[0] | flake8
Traceback (most recent call last):
  File "/tmp/charm-fstab-config/src/.tox/lint/bin/flake8", line 8, in <module>
    sys.exit(main())
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/main/cli.py", line 23, in main
    app.run(argv)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/main/application.py", line 198, in run
    self._run(argv)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/main/application.py", line 186, in _run
    self.initialize(argv)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/main/application.py", line 165, in initialize
    self.plugins, self.options = parse_args(argv)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/options/parse_args.py", line 53, in parse_args
    opts = aggregator.aggregate_options(option_manager, cfg, cfg_dir, rest)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/options/aggregator.py", line 30, in aggregate_options
    parsed_config = config.parse_config(manager, cfg, cfg_dir)
  File "/tmp/charm-fstab-config/src/.tox/lint/lib/python3.10/site-packages/flake8/options/config.py", line 131, in parse_config
    raise ValueError(
ValueError: Error code '#TODO' supplied to 'ignore' option does not match '^[A-Z]{1,3}[0-9]{0,3}$'
```

Related branches

Chi Wai CHAN (raychan96)
Changed in charm-fstab-config:
assignee: nobody → Chi Wai CHAN (raychan96)
status: New → In Progress
Chi Wai CHAN (raychan96)
Changed in charm-fstab-config:
milestone: none → 23.07
Eric Chen (eric-chen)
Changed in charm-fstab-config:
status: In Progress → Fix Committed
Chi Wai CHAN (raychan96)
Changed in charm-fstab-config:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.