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

chore: remove unused variables #1791

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

chore: remove unused variables #1791

wants to merge 4 commits into from

Conversation

parthea
Copy link
Contributor

@parthea parthea commented May 6, 2022

Fixes warning from flake8 . --select F841

(py39) partheniou@partheniou-vm-2:~/git/google-api-python-client$ flake8 . --select F841
./describe.py:310:5: F841 local variable 'resource_name' is assigned to but never used
./describe.py:350:13: F841 local variable 'dname' is assigned to but never used
./googleapiclient/discovery.py:430:9: F841 local variable 'service' is assigned to but never used
./googleapiclient/discovery.py:431:5: F841 local variable 'e' is assigned to but never used
./samples/coordinate/coordinate.py:97:3: F841 local variable 'e' is assigned to but never used
./tests/test_mocks.py:206:13: F841 local variable 'activity' is assigned to but never used
./tests/test_http.py:326:13: F841 local variable 'json' is assigned to but never used
./tests/test_http.py:963:13: F841 local variable 'response' is assigned to but never used
./tests/test_http.py:1241:9: F841 local variable 's' is assigned to but never used
./tests/test_discovery.py:246:9: F841 local variable 'parameters' is assigned to but never used
./tests/test_discovery.py:443:9: F841 local variable 'service' is assigned to but never used
./tests/test_discovery.py:450:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:458:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:477:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:598:45: F841 local variable 'http' is assigned to but never used
./tests/test_discovery.py:671:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:682:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:695:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:980:13: F841 local variable 'zoo' is assigned to but never used
./tests/test_discovery.py:998:13: F841 local variable 'zoo' is assigned to but never used
./tests/test_discovery.py:1016:13: F841 local variable 'zoo' is assigned to but never used
./tests/test_discovery.py:1256:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:1332:13: F841 local variable 'plus' is assigned to but never used
./tests/test_discovery.py:1954:13: F841 local variable 'body' is assigned to but never used
./tests/test__auth.py:131:13: F841 local variable 'credentials' is assigned to but never used
./tests/test__auth.py:135:13: F841 local variable 'credentials' is assigned to but never used

@parthea parthea requested review from a team as code owners May 6, 2022 10:59
@parthea parthea requested a review from dandhlee May 6, 2022 10:59
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label May 6, 2022
describe.py Outdated Show resolved Hide resolved
parthea and others added 2 commits May 6, 2022 10:25
Co-authored-by: Maciej Strzelczyk <strzelczyk@google.com>
@parthea parthea marked this pull request as draft January 8, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants