Skip to content
GitHub Actions / flake8 failed Oct 2, 2024 in 0s

reviewdog [flake8] report

reported by reviewdog 🐶

Findings (9)

src/forbids/cli/run.py|10 col 1| '.validation.BIDSFileError' imported but unused
src/forbids/cli/run.py|10 col 1| '.validation.ValidationError' imported but unused
src/forbids/cli/validation.py|6 col 1| 'typing.Any' imported but unused
src/forbids/cli/validation.py|6 col 1| 'typing.Iterator' imported but unused
src/forbids/cli/validation.py|6 col 1| 'typing.List' imported but unused
src/forbids/cli/validation.py|6 col 1| 'typing.Optional' imported but unused
src/forbids/cli/validation.py|10 col 1| 'jsonschema._typing.Validator' imported but unused
src/forbids/cli/validation.py|44 col 5| local variable 'is_session_specific' is assigned to but never used
src/forbids/cli/validation.py|106 col 9| local variable 'relpath' is assigned to but never used

Filtered Findings (4)

src/forbids/cli/init.py|3 col 1| 'itertools' imported but unused
src/forbids/cli/validation.py|3 col 1| 'keyword' imported but unused
src/forbids/cli/validation.py|9 col 1| 'jsonschema.validators' imported but unused
src/forbids/schema.py|37 col 27| SyntaxError: invalid syntax

Annotations

Check failure on line 10 in src/forbids/cli/run.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/run.py#L10 <401>

'.validation.BIDSFileError' imported but unused
Raw output
./src/forbids/cli/run.py:10:1: F401 '.validation.BIDSFileError' imported but unused

Check failure on line 10 in src/forbids/cli/run.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/run.py#L10 <401>

'.validation.ValidationError' imported but unused
Raw output
./src/forbids/cli/run.py:10:1: F401 '.validation.ValidationError' imported but unused

Check failure on line 6 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L6 <401>

'typing.Any' imported but unused
Raw output
./src/forbids/cli/validation.py:6:1: F401 'typing.Any' imported but unused

Check failure on line 6 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L6 <401>

'typing.Iterator' imported but unused
Raw output
./src/forbids/cli/validation.py:6:1: F401 'typing.Iterator' imported but unused

Check failure on line 6 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L6 <401>

'typing.List' imported but unused
Raw output
./src/forbids/cli/validation.py:6:1: F401 'typing.List' imported but unused

Check failure on line 6 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L6 <401>

'typing.Optional' imported but unused
Raw output
./src/forbids/cli/validation.py:6:1: F401 'typing.Optional' imported but unused

Check failure on line 10 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L10 <401>

'jsonschema._typing.Validator' imported but unused
Raw output
./src/forbids/cli/validation.py:10:1: F401 'jsonschema._typing.Validator' imported but unused

Check failure on line 44 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L44 <841>

local variable 'is_session_specific' is assigned to but never used
Raw output
./src/forbids/cli/validation.py:44:5: F841 local variable 'is_session_specific' is assigned to but never used

Check failure on line 106 in src/forbids/cli/validation.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] src/forbids/cli/validation.py#L106 <841>

local variable 'relpath' is assigned to but never used
Raw output
./src/forbids/cli/validation.py:106:9: F841 local variable 'relpath' is assigned to but never used