Skip to content

Commit 12c2126

Browse files
committed
feat(black): update new code style
1 parent 6975b58 commit 12c2126

95 files changed

Lines changed: 116 additions & 116 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/Test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', "3.13", "3.14"]
14+
python-version: ['3.9', '3.10', '3.11', '3.12', "3.13", "3.14"]
1515
include:
1616
- python-version: '3.12'
1717
update-coverage: true

examples/get_facebook_feed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
This is an example for page get recent 50 feeds
2+
This is an example for page get recent 50 feeds
33
4-
Refer: https://developers.facebook.com/docs/graph-api/reference/page/feed#read
4+
Refer: https://developers.facebook.com/docs/graph-api/reference/page/feed#read
55
"""
66

77
import json

examples/get_facebook_post_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
This is an example for get post detail by FacebookApi class.
2+
This is an example for get post detail by FacebookApi class.
33
4-
Refer: https://developers.facebook.com/docs/graph-api/reference/pagepost
4+
Refer: https://developers.facebook.com/docs/graph-api/reference/pagepost
55
"""
66

77
import os

examples/publish_facebook_post.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
This is an example for facebook page publish a post.
2+
This is an example for facebook page publish a post.
33
4-
Refer: https://developers.facebook.com/docs/graph-api/reference/page/feed#publish
4+
Refer: https://developers.facebook.com/docs/graph-api/reference/page/feed#publish
55
"""
66

77
import os

examples/server_sent_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
A demo for sample streaming api.
2+
A demo for sample streaming api.
33
"""
44

55
import json

get_token.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
Utility to get your access tokens.
3-
Refer: https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing
2+
Utility to get your access tokens.
3+
Refer: https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing
44
"""
55

66
import webbrowser

pyfacebook/api/base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Base client for API.
2+
Base client for API.
33
"""
44

55
import inspect

pyfacebook/api/base_resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Resource base class
2+
Resource base class
33
"""
44

55
from pyfacebook.api.graph import GraphAPI

pyfacebook/api/facebook/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Client for facebook graph api
2+
Client for facebook graph api
33
"""
44

55
from pyfacebook.api.base_client import BaseApi

pyfacebook/api/facebook/common_edges/albums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Albums edge for resource.
2+
Albums edge for resource.
33
"""
44

55
from typing import Optional, Union

0 commit comments

Comments
 (0)