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

Fix undefined names in Python code #108

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

@cclauss
Copy link

@cclauss cclauss commented Jan 10, 2022

% flake8 . --count --builtins=ml_ops --select=E9,F63,F7,F82,Y --show-source --statistics

./pyze/src/pyze/api/kamereon.py:31:13: F821 undefined name 'f'
            f.cache_clear()
            ^
./pyze/src/pyze/api/kamereon.py:326:113: F821 undefined name 'schedule'
            raise RuntimeError('Expected schedule to be instance of ChargeSchedules, but got {} instead'.format(schedule.__class__))
                                                                                                                ^
2     F821 undefined name 'f'
2
% `flake8 . --count --builtins=ml_ops --select=E9,F63,F7,F82,Y --show-source --statistics`
```
./pyze/src/pyze/api/kamereon.py:31:13: F821 undefined name 'f'
            f.cache_clear()
            ^
./pyze/src/pyze/api/kamereon.py:326:113: F821 undefined name 'schedule'
            raise RuntimeError('Expected schedule to be instance of ChargeSchedules, but got {} instead'.format(schedule.__class__))
                                                                                                                ^
2     F821 undefined name 'f'
2
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant