Skip to content

Commit 31396ec

Browse files
committed
Seventh commit
MINOR CHANGES - reverting changes from last commit - not running example scripts when building
1 parent 263dc93 commit 31396ec

4 files changed

Lines changed: 0 additions & 13 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,3 @@ jobs:
3939
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4040
# Exit-zero treats warnings as non-critical to pass the workflow
4141
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
42-
43-
- name: Test example scripts
44-
run: |
45-
# Run example scripts to verify functionality
46-
python examples/example1.py
47-
python examples/example2.py
48-
python examples/example3.py

examples/example1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
1414
from ctk_toggle.ctk_toggle_button import CTkToggleButton
1515

16-
os.environ['DISPLAY'] = ':0.0'
17-
1816
# Create a simple application window
1917
app = ctk.CTk()
2018
app.geometry("400x200")

examples/example2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
from ctk_toggle.ctk_toggle_button import CTkToggleButton
1515
from ctk_toggle.ctk_toggle_group import CTkToggleGroup
1616

17-
os.environ['DISPLAY'] = ':0.0'
18-
1917
# Create the application window
2018
app = ctk.CTk()
2119
app.geometry("400x300")

examples/example3.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
from ctk_toggle.ctk_toggle_button import CTkToggleButton
1515
from ctk_toggle.ctk_toggle_group import CTkToggleGroup
1616

17-
os.environ['DISPLAY'] = ':0.0'
18-
1917
# Create the application window
2018
app = ctk.CTk()
2119
app.geometry("500x400")

0 commit comments

Comments
 (0)