Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 22ec475

Browse files
author
John Andersen
committed
Reformat with black
Signed-off-by: John Andersen <john.s.andersen@intel.com>
1 parent e035740 commit 22ec475

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

.github/workflows/pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Pages
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88
types:
99
- opened
1010
branches:
11-
- main
11+
- master
1212

1313
jobs:
1414
pages:
@@ -25,7 +25,7 @@ jobs:
2525
python3 -m sphinx -W -b html docs built_html_docs/
2626
echo ${{ github.ref }}
2727
- name: Deploy to GitHub Pages
28-
if: ${{ github.ref == 'refs/head/main' }}
28+
if: ${{ github.ref == 'refs/head/master' }}
2929
uses: crazy-max/ghaction-github-pages@v2
3030
with:
3131
target_branch: gh-pages
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
class MiscClass:
2-
32
@classmethod
43
def load(cls1):
54
"""
65
I heard you like classmethods so I put a classmethod in your
76
classmethod dawg
87
"""
8+
99
class MyClass:
1010
@classmethod
1111
def classception(cls2):
1212
return type("NewClass", (cls1, cls2,), {"FEED": "FACE"})
13+
1314
return MyClass

project_example_for_python/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from .importable import outer_script
22

3+
34
def SCRIPT():
4-
print('SCRIPT!')
5+
print("SCRIPT!")
6+
57

68
def import_SCRIPT():
79
outer_script()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def SCRIPTSCRIPT():
2-
print('SCRIPT SCRIPT!')
2+
print("SCRIPT SCRIPT!")

project_example_for_python/importable.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ def outer_script():
55
66
>>> scotty.beam(me, "up")
77
"""
8-
print('It\'s a bird it\'s a plane!')
9-
print('NO! It\'s a SCRIPT!!')
8+
print("It's a bird it's a plane!")
9+
print("NO! It's a SCRIPT!!")
1010

1111

1212
class SomeClass:
13-
1413
def hello(self):
1514
"""
1615
This class is useful

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name = project-example-for-python
33
description = DFFML blank project-example-for-python
44
long_description = file: README.rst
55
author = John Andersen
6-
author_email = john.s.andersen@intel.com
6+
author_email = johnandersenpdx@gmail.com
77
maintainer = John Andersen
8-
maintainer_email = john.s.andersen@intel.com
9-
url = https://github.com/johnsa1/project-example-for-python
8+
maintainer_email = johnandersenpdx@gmail.com
9+
url = https://github.com/intel/project-example-for-python
1010
license = MIT
1111
# keywords = dffml
1212
classifiers =

0 commit comments

Comments
 (0)