Skip to content

Commit ea826d0

Browse files
authored
Merge pull request #316 from nurazon59/feat/add-formatter
feat: add format
2 parents 4dbfbc0 + 8bc6dd9 commit ea826d0

File tree

12 files changed

+1214
-1027
lines changed

12 files changed

+1214
-1027
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Create a report to help us improve
44
title: ''
55
labels: 'bug'
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
@@ -23,9 +22,10 @@ A description of what you expected to happen.
2322
A description of what actually happened.
2423

2524
**Other Information (please complete the following information):**
26-
- OS: [e.g. Windows10]
27-
- Python Version [e.g. 3.6]
28-
- Node Version [e.g. 12]
25+
26+
- OS: [e.g. Windows10]
27+
- Python Version [e.g. 3.6]
28+
- Node Version [e.g. 12]
2929

3030
**Additional context**
3131
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project
44
title: ''
55
labels: 'enhancement'
66
assignees: ''
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ about: A question about python-shell
44
title: ''
55
labels: 'question'
66
assignees: ''
7-
87
---
98

10-
11-
<!--If you are having a problem inside your python code please do not create a issue here.
9+
<!--If you are having a problem inside your python code please do not create a issue here.
1210
Python-shell just runs your python code, it is not responsible for any errors in the code itself.-->
1311

1412
**The Question**:
1513

16-
1714
**Any relevant python/javascript code:**

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2
5+
}

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,74 @@
11
## [5.0.0] - 2023-02-10
2+
23
### BREAKING CHANGES
4+
35
- run and runString now return a promise instead of a using a callback.
46
- You will need to 1) check the return value, 2) remove the callback argument, and 3) change to a promise
57
- see readme for usage examples
68

79
### Other notes
10+
811
- I confirmed that python-shell works with python 3.11 and node v18.
912

1013
## [4.0.0] - 2023-02-10
14+
1115
### Changed
16+
1217
- run and runString now return a promise instead of a using a callback.
1318
- This is somewhat backwards compatible with previous behavior
1419

1520
## [3.0.1] - 2021-10-09
21+
1622
### Fixed
23+
1724
- Previously when you called the kill method the terminated attribute was always set to true, regardless of whether the process was actually killed. Now the terminated boolean is set to true if kill succeeds, false otherwise. [#255](https://github.com/extrabacon/python-shell/issues/255)
1825

1926
## [3.0.0] - 2021-03-07
27+
2028
### Changed
29+
2130
- **BREAKING** Default python path changed back to `python` on Windows. [#237](https://github.com/extrabacon/python-shell/issues/237)
2231
- **BREAKING** `error` event renamed to `pythonError` event. [#118](https://github.com/extrabacon/python-shell/issues/118)
2332
- **BREAKING** `receive` methods removed in favor of `splitter` arguments in the constructor. This lets the default splitting logic reside in a reuseable stream transformer. Now if you have extra pipes you can reuse `newlineTransformer` to split incoming data into newline-seperated lines.
2433

2534
### Added
35+
2636
- `error` event that is fired upon failure to launch process, among other things. [#118](https://github.com/extrabacon/python-shell/issues/118)
2737

2838
## [1.0.8]
39+
2940
### Fixed
41+
3042
- @joaoe fixed a bug with pythonshell not working with unset std streams
3143
- https://github.com/extrabacon/python-shell/milestone/9
3244

3345
## [1.0.7]
46+
3447
### Changed
48+
3549
- default python path updated to py on windows
3650

3751
## [1.0.4]
52+
3853
### Added
54+
3955
- added getVersionSync
4056

4157
## [0.0.3]
58+
4259
### Fixed
60+
4361
- fixed buffering in `PythonShell.receive`, fixing [#1](https://github.com/extrabacon/python-shell/issues/1)
4462

4563
## [0.0.2]
64+
4665
### Changed
66+
4767
- improved documentation
4868

4969
## [0.0.1]
70+
5071
### Added
72+
5173
- initial version
5274
- independent module moved from [extrabacon/pyspreadsheet](https://github.com/extrabacon/pyspreadsheet)
53-

0 commit comments

Comments
 (0)