Skip to content

Commit 4c9b8c3

Browse files
committedDec 19, 2024·
pymitter: Further code formatting (ruff).
1 parent fcfa3cb commit 4c9b8c3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
 

‎python-ecosys/pymitter/examples.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
# python imports
44
import os
55
import sys
6+
from pymitter import EventEmitter
67

7-
# adjust the path to import pymitter
8-
base = os.path.normpath(os.path.join(os.path.abspath(__file__), "../.."))
9-
sys.path.insert(0, base)
108

119
# create an EventEmitter instance
12-
from pymitter import EventEmitter
13-
1410
ee = EventEmitter(wildcard=True, new_listener=True, max_listeners=-1)
1511

1612

‎python-ecosys/pymitter/tests.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# coding: utf-8
32

43

0 commit comments

Comments
 (0)