Skip to content

Commit

Permalink
style: fix pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ahal committed Oct 23, 2023
1 parent 3800484 commit d5a8147
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ of a file:
```python

query = """
query getFileContents {
query getFileContents {
repository(owner: "mozilla-releng", name: "simple-github") {
object(expression: "HEAD:README.md") {
... on Blob {
Expand Down
2 changes: 1 addition & 1 deletion src/simple_github/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import List, Optional, Union

from .client import Client
from .auth import AppAuth, AppInstallationAuth, TokenAuth
from .client import Client


def AppClient(
Expand Down
4 changes: 3 additions & 1 deletion taskcluster/scripts/codecov-upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def fetch_secret(secret_name):
return r.json()["secret"]


token = fetch_secret("project/releng/mozilla/simple-github-client/build/level-1/ci")["codecov_api_token"]
token = fetch_secret("project/releng/mozilla/simple-github-client/build/level-1/ci")[
"codecov_api_token"
]
uploader = FETCHES_DIR / "codecov"
uploader.chmod(uploader.stat().st_mode | stat.S_IEXEC)
subprocess.run(
Expand Down
1 change: 0 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import base64
from pathlib import Path

import pytest
Expand Down

0 comments on commit d5a8147

Please sign in to comment.