Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codechange: Vendor in latest ply version #342

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Codechange: Vendor in latest ply version

fe8f527
Select commit
Loading
Failed to load commit list.
Open

Codechange: Vendor in latest ply version #342

Codechange: Vendor in latest ply version
fe8f527
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Oct 14, 2024 in 4s

13 new alerts

New alerts in code changed by this pull request

  • 6 warnings
  • 7 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 40 in nml/ply/lex.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'os' is not used.

Check warning on line 451 in nml/ply/lex.py

See this annotation in the file changed.

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.

Check warning on line 593 in nml/ply/lex.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'tokname' is unnecessary as it is
redefined
before this value is used.

Check warning on line 723 in nml/ply/lex.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'stateinfo' is unnecessary as it is
redefined
before this value is used.

Check notice on line 851 in nml/ply/lex.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable 'lexer' is not used.

Check warning on line 190 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated slice method Warning

__getslice__ method has been deprecated since Python 2.0.

Check notice on line 273 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.

Check notice on line 852 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 2039 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check warning on line 2128 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.

Check notice on line 2260 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check warning on line 2309 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

File is not always closed Warning

File is opened but is not closed.

Check notice on line 2481 in nml/ply/yacc.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable 'parse' is not used.