Skip to content

Commit fd360de

Browse files
AvasamToufoolAlgomancerzalgo3
authored
Merge 2.0.0 into master (#211)
* Fix #52 Comparisons with empty masks * Save 'Check For Updates On Open' immediatly * showErrorSignal to show error message box from another thread * Fixes #86 Stop uncaught exceptions from silently crashing the app * Fixes #86 Stop uncaught exceptions from silently crashing the app * Fix #114, try to load Start Image on browse & load settings, don't allow a start image to load if hotkeys are not set. * First linting pass Configured VSCode and Markdownlint settings Added and configured the following linters as strict as I could: pylint, flake8, mypy, bandit, pyright Partially filled in some type stubs: cv2, imagehash, keyboard, pyautogui, pythonwin, win32helper [Breaking change] Using interpolation=cv2.INTER_NEAREST everywhere as it is the fastest interlpolation method Hide generated/compiled files SelectRegionWidget width and height as functions Added validate_images_before_parsing() to validate images both before maxFPS and starting autosplitter * Moved most settings to pyproject.toml and ran autopep8 * Removed mypy and Fixed import-outside-toplevel * Double quotes and pylint complete linting * Configured linting workflow * Async check for updates * Fix crash on LiveSplit open and missing link in error message * Merge * Fixed certificate error and random crash on open when compiled * Using python/typeshed/pull/6492 * PEP8 naming convention * Added build artifact * AutoSplitImage Class and simplified code Simplified and reduced image conversions Reduced duplicated code, especially in settings Build Artifact * Average FPS over all images with all actions * Added badges * Fixed "Select Window" not working for windows with negative coordinates Split screen_region in smaller functions WIP towards #94: No pop-up on loading settings with no capture window Don't stop/reset AutoSplit upon loosing capture window No pop-up on loosing capture window Don't allow selecting desktop. * Ability to recover window Fixed regressions: Fix crash on clising window mid-run Forgot to migrate split_delay to image.delay Removed dead load_pyqt_settings code Fixed dummy groups Pause time from filename not set correctly Setting hotkeys on load * Differentiate "undo/skip split" from "previous/next image" Skip/udo will now actually call command This makes grouping option obsolete as user now has finer control anyway UI is a bit cramped, but that should be resolved with UI revamp Updated README * Make Save Settings more intuitive Don't close if user has cancelled "saving sattings as" Removed more attributes from AutoSplit class Don't update last_successfully_loaded_settings_file_path if load was not successful "Save Settings As" defaults to the last_successfully_loaded_settings_file_path THEN the .exe When closing app, ue save_settings instead of save_settings_as * Initial UI update for 2.0.0. Add settings window. * Hooked new settings window to actual values (#151) * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group Co-authored-by: Austin <[email protected]> * Image comparison method and default delay time (#135) * hooked new settings window to actual values * Implemented image specific comparison method and default delay time. Closes #26 * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group * Fixed images comparison method defaulting to 0 rather than none Co-authored-by: Austin <[email protected]> * Support hotkeys with modifiers (#136) * hooked new settings window to actual values * Better "seconds remaining" text * Support modifiers the same way LiveSplit does. Closes #34 * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group Co-authored-by: Austin <[email protected]> * Linted pyi files (#137) * hooked new settings window to actual values * Linted pyi files * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group * Turn off pyright(reportFunctionMemberAccess) in favor of pylint(no-member) * Massively sped up Flake tests Removed 400+kb of type stubs * Centralized qWait typing fix * Autosort imports * Resynced settings Co-authored-by: Austin <[email protected]> * Toml profiles + Python 3.10 (#140) * Typings update * Full setup and configuration update * User Profile, Revamped settings, Start image fixes & __auto_splitter method refactor * Added new Capture Method system for more capture options + utils (#141) * Add D3DShot types from python/typeshed#8652 * New Capture Method system * Warning if AutoSplit is already open + Build number + Splash Screen + Doc update + Fixes (#161) * Doc + Setup update * typings update * Warning if AutoSplit is already open + Build number + Splash Screen * Target the right repository/fork * Fix #155 * Actions shortcut and prevent double open window Closes #154 * ImageHash hotfix * Toggle autoreset image + ui adjustments (#164) * merge master into 2.0.0 (#165) * update credits * oops * Toggle autoreset image (#162) * Fix #52 Comparisons with empty masks * Save 'Check For Updates On Open' immediatly * showErrorSignal to show error message box from another thread * Fixes #86 Stop uncaught exceptions from silently crashing the app * Fixes #86 Stop uncaught exceptions from silently crashing the app * Fix #114, try to load Start Image on browse & load settings, don't allow a start image to load if hotkeys are not set. * First linting pass Configured VSCode and Markdownlint settings Added and configured the following linters as strict as I could: pylint, flake8, mypy, bandit, pyright Partially filled in some type stubs: cv2, imagehash, keyboard, pyautogui, pythonwin, win32helper [Breaking change] Using interpolation=cv2.INTER_NEAREST everywhere as it is the fastest interlpolation method Hide generated/compiled files SelectRegionWidget width and height as functions Added validate_images_before_parsing() to validate images both before maxFPS and starting autosplitter * Moved most settings to pyproject.toml and ran autopep8 * Removed mypy and Fixed import-outside-toplevel * Double quotes and pylint complete linting * Configured linting workflow * Async check for updates * Fix crash on LiveSplit open and missing link in error message * Merge * Fixed certificate error and random crash on open when compiled * Using python/typeshed/pull/6492 * PEP8 naming convention * Added build artifact * AutoSplitImage Class and simplified code Simplified and reduced image conversions Reduced duplicated code, especially in settings Build Artifact * Average FPS over all images with all actions * Added badges * Fixed "Select Window" not working for windows with negative coordinates Split screen_region in smaller functions WIP towards #94: No pop-up on loading settings with no capture window Don't stop/reset AutoSplit upon loosing capture window No pop-up on loosing capture window Don't allow selecting desktop. * Ability to recover window Fixed regressions: Fix crash on clising window mid-run Forgot to migrate split_delay to image.delay Removed dead load_pyqt_settings code Fixed dummy groups Pause time from filename not set correctly Setting hotkeys on load * Differentiate "undo/skip split" from "previous/next image" Skip/udo will now actually call command This makes grouping option obsolete as user now has finer control anyway UI is a bit cramped, but that should be resolved with UI revamp Updated README * Make Save Settings more intuitive Don't close if user has cancelled "saving sattings as" Removed more attributes from AutoSplit class Don't update last_successfully_loaded_settings_file_path if load was not successful "Save Settings As" defaults to the last_successfully_loaded_settings_file_path THEN the .exe When closing app, ue save_settings instead of save_settings_as * Initial UI update for 2.0.0. Add settings window. * Hooked new settings window to actual values (#151) * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group Co-authored-by: Austin <[email protected]> * Image comparison method and default delay time (#135) * hooked new settings window to actual values * Implemented image specific comparison method and default delay time. Closes #26 * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group * Fixed images comparison method defaulting to 0 rather than none Co-authored-by: Austin <[email protected]> * Support hotkeys with modifiers (#136) * hooked new settings window to actual values * Better "seconds remaining" text * Support modifiers the same way LiveSplit does. Closes #34 * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group Co-authored-by: Austin <[email protected]> * Linted pyi files (#137) * hooked new settings window to actual values * Linted pyi files * Initial UI update for 2.0.0. Add settings window. * hooked new settings window to actual values * Better "seconds remaining" text * Undo split goes to the end of the group * Turn off pyright(reportFunctionMemberAccess) in favor of pylint(no-member) * Massively sped up Flake tests Removed 400+kb of type stubs * Centralized qWait typing fix * Autosort imports * Resynced settings Co-authored-by: Austin <[email protected]> * Toml profiles + Python 3.10 (#140) * Typings update * Full setup and configuration update * User Profile, Revamped settings, Start image fixes & __auto_splitter method refactor * Added new Capture Method system for more capture options + utils (#141) * Add D3DShot types from python/typeshed#8652 * New Capture Method system * Warning if AutoSplit is already open + Build number + Splash Screen + Doc update + Fixes (#161) * Doc + Setup update * typings update * Warning if AutoSplit is already open + Build number + Splash Screen * Target the right repository/fork * Fix #155 * Actions shortcut and prevent double open window Closes #154 * ImageHash hotfix * Toggle autoreset image + ui adjustments Co-authored-by: Austin <[email protected]> * Revert "Toggle autoreset image (#162)" (#163) This reverts commit 9e48c51. Co-authored-by: Samuel T <[email protected]> * test building without --windowed * First round of QA testing fixes (#171) * Added sonarcloud.properties * Remove duplicate DeleteDC & allow errors to show May fix #167 * Rename CaptureMethodInterface to CaptureMethodBase * Added autofix script and faster linting * Disable device probing for now. Fixes #169 * Updated settings widget text and workaround to fix #170 * Bump AUTOSPLIT_VERSION * Next Image even if it's not possible to split Fixes #168 * Fix build * First round of QA testing fixes + build fixes (#172) * back to windowed * Fix #47, updated some configs and types from typeshed (#173) * Updated configs * Updated typings * Updated some code * Fix #47 * Revert mypy stuff * More consistent formatting (#174) * More consistent formatting and types - Added autofixes to the lint script. - Added a quotes autofixer using `unify` - Added a trailing comma checker and autofixer - Applied trailing commas - Ordered requirements alphabetically - Ensure the last version of D3DShot is used (0.1.5, not 0.1.3) - Remove configuration for unused linters (black/prettier/sonarlint) - Updated types from typeshed * Updated virtual camera link * Update types and pylint * Batch fixes (#176) * pyright update * lint-and-build cover more files * Get IDirect3dDevice from LearningModelDevice Closes #175 Co-authored-by: Algomancer <[email protected]> * Ensure we're using the right camera size And not OpenCV's default 640x480 * Fix rounding error in displayed decimal * Revert "back to windowed" This reverts commit 9553271. * Fix highest similarity for start image * Fix split below treshold when image is not valid * Detect gray frames from OBS-Camera Co-authored-by: Algomancer <[email protected]> * Adaptive resizing for masked images (#177) Especially in the case of 1080p or higher, if the non-transparent area of the mask image used for the split is small, resizing the entire image to 320x240 will lose the information inside the mask. One idea to prevent this is to adaptively determine the target size according to the number of nonzero elements in the alpha channel of the split image. At least for the L2 norm and histogram, such a change would not affect performance since they only use information about the mask's interior. Masks are not recommended with pHash anyway. Co-authored-by: zalgo3 <[email protected]> * Bump opencv-python to 4.6 (#178) * Point python_grabber to andreaschiavinato (#179) * Batch of updates and fixes for 2.0.0 (#188) * Point python_grabber to andreaschiavinato * Added summary of histogram * Backport changes from linux branch * Improved pyright and formatters usage * Config updates * Fix links * Disable next/previous while delaying * proper `is_running` variable * Fix loading and clearing of start image * Rename "already_running" to "already_open" * Fix delay intervals * Add support for start image pause time * Default to MediaCapture's d3d * Re-enable buttons after delay * Beta 1 (feature-freeze, bugfixes only) * Updated configs to use Python 3.11 (#180) * Option to build without build number + Adaptive mask fix (#189) * Option to build without build number * Fix repo url from workflow build * Resize mask with image * Pin more dependencies, Speed-up installs and update comments * Add mypy config for optional support. * pin requests and allow pyright warnings (#193) * Fix B028 (#194) * Fixed run_start_time with start image pause loop (#197) Also fixed run_start_time not accounting for the delay in parsing images * Disable Capture device: dropdown when Capture method: is not Video Capture Device (#198) Fix issue with programatically setting capture_device_combobox index * Fix start issue after finishing splits (#199) * Fix start issue after finishing splits - `self.is_running = False` at the end of `__auto_splitter` - Revert moving initialization of some values - Move `self.run_start_time = time()` before parsing images * Update hardcoded references to repo name * Change default capture method to WGA (#200) * Delete example1.6.0.gif * 2.0.0 gif * update gif to 2.0.0 * Update some docs and fix lint issue (#202) * Update docs, comments and typings Add link to dev builds bump beta version Update flake8 checks "fix" typing issue caused by PyQt6 incorrect callable * Slight build improvement * Fix D3DDD issue on hybrid GPU laptops (#205) * Fix D3DDD issue on hybrid gpu laptops 1. Some Desktop Duplication setup was done in advance, even if that method won't be used 2. Hybrid GPU laptops can have issues with D3D Desktop Duplication. The issue and a workaround is now documented * Fixed some blocking typing and linting issues * Fix obs-camera image freezing for a sec when it gives a blank frame (#206) * Linting and typing fixes (#208) * start image behavior @Avasam I believe this is accurate, but let me know if it's not --------- Co-authored-by: Austin <[email protected]> Co-authored-by: Algomancer <[email protected]> Co-authored-by: zalgo3 <[email protected]>
1 parent 62aa289 commit fd360de

Some content is hidden

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

68 files changed

+11177
-6293
lines changed

.flake8

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[flake8]
2+
color=always
3+
max-line-length=120
4+
; Auto generated
5+
exclude=src/gen/, typings/cv2-stubs/__init__.pyi
6+
ignore=
7+
; Linebreak before binary operator
8+
W503,
9+
; Closing bracket may not match multi-line method invocation style (enforced by add-trailing-comma)
10+
E124,
11+
; Allow imports at the bottom of file
12+
E402,
13+
; Not using typing_extensions
14+
Y026,
15+
; contextlib.suppress is roughly 3x slower than try/except
16+
SIM105,
17+
; False positives for attribute docstrings
18+
CCE001,
19+
per-file-ignores=
20+
; Quotes
21+
; Allow ... on same line as class
22+
; Allow ... on same line as def
23+
; Line too long
24+
; Naming conventions can't be controlled for external libraries
25+
; Variable names can't be controlled for external libraries
26+
; Argument names can't be controlled for external libraries
27+
; Attribute names can't be controlled for external libraries
28+
; False positive Class level expression with elipsis
29+
; Type re-exports
30+
; mypy 3.7 Union issue
31+
*.pyi: Q000,E701,E704,E501,N8,A001,A002,A003,CCE002,F401,Y037
32+
; PyQt methods
33+
ignore-names=closeEvent,paintEvent,keyPressEvent,mousePressEvent,mouseMoveEvent,mouseReleaseEvent
34+
; McCabe max-complexity is also taken care of by Pylint and doesn't fail the build there
35+
; So this is the hard limit
36+
max-complexity=32
37+
inline-quotes=double

.github/workflows/lint-and-build.yml

+65-25
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
name: Lint and build
33
on:
44
workflow_dispatch: # Allows manual builds
5+
inputs:
6+
excludeBuildNumber:
7+
description: "Exclude build number"
8+
required: true
9+
default: false
10+
type: boolean
511
push:
612
branches:
713
- main
814
- master
915
paths:
1016
- "**.py"
11-
- "**.pyi"
1217
- "**.ui"
18+
- ".github/workflows/lint-and-build.yml"
19+
- "**/requirements.txt"
1320
pull_request:
1421
branches:
1522
- main
@@ -20,22 +27,64 @@ on:
2027
- "**.py"
2128
- "**.pyi"
2229
- "**.ui"
30+
- ".github/workflows/lint-and-build.yml"
31+
- "**/requirements*.txt"
2332

2433
env:
2534
GITHUB_HEAD_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name }}
35+
GITHUB_EXCLUDE_BUILD_NUMBER: ${{ inputs.excludeBuildNumber }}
2636

2737
jobs:
38+
isort:
39+
runs-on: windows-latest
40+
steps:
41+
- name: Checkout ${{ github.repository }}/${{ github.ref }}
42+
uses: actions/checkout@v3
43+
- name: Set up Python 3.11
44+
uses: actions/setup-python@v4
45+
with:
46+
python-version: "3.11"
47+
cache: "pip"
48+
cache-dependency-path: "scripts/requirements*.txt"
49+
- run: scripts/install.ps1
50+
shell: pwsh
51+
- name: Analysing the code with isort
52+
run: isort src/ typings/ --check-only
53+
add-trailing-comma:
54+
runs-on: windows-latest
55+
steps:
56+
- name: Checkout ${{ github.repository }}/${{ github.ref }}
57+
uses: actions/checkout@v3
58+
- name: Set up Python 3.11
59+
uses: actions/setup-python@v4
60+
with:
61+
python-version: "3.11"
62+
- run: pip install add-trailing-comma
63+
- name: Analysing the code with add-trailing-comma
64+
run: add-trailing-comma $(git ls-files '**.py*') --py36-plus
65+
Bandit:
66+
# Bandit only matters on the version deployed. Platform checks are ignored
67+
runs-on: windows-latest
68+
steps:
69+
- name: Checkout ${{ github.repository }}/${{ github.ref }}
70+
uses: actions/checkout@v3
71+
- name: Set up Python 3.11
72+
uses: actions/setup-python@v4
73+
with:
74+
python-version: "3.11"
75+
- run: pip install bandit
76+
- name: Analysing the code with Bandit
77+
run: bandit src/ -n 1 --severity-level medium --recursive
2878
Pyright:
2979
runs-on: windows-latest
3080
strategy:
3181
fail-fast: false
82+
# Pyright is version and platform sensible
3283
matrix:
33-
python-version: ["3.9", "3.10"]
84+
python-version: ["3.9", "3.10", "3.11"]
3485
steps:
3586
- name: Checkout ${{ github.repository }}/${{ github.ref }}
3687
uses: actions/checkout@v3
37-
- name: Set up Node
38-
uses: actions/setup-node@v3
3988
- name: Set up Python ${{ matrix.python-version }}
4089
uses: actions/setup-python@v4
4190
with:
@@ -45,13 +94,16 @@ jobs:
4594
- run: scripts/install.ps1
4695
shell: pwsh
4796
- name: Analysing the code with Pyright
48-
run: pyright --warnings
97+
uses: jakebailey/pyright-action@v1
98+
with:
99+
working-directory: src/
49100
Pylint:
50101
runs-on: windows-latest
51102
strategy:
52103
fail-fast: false
104+
# Pylint is version and platform sensible
53105
matrix:
54-
python-version: ["3.9", "3.10"]
106+
python-version: ["3.9", "3.10", "3.11"]
55107
steps:
56108
- name: Checkout ${{ github.repository }}/${{ github.ref }}
57109
uses: actions/checkout@v3
@@ -64,13 +116,14 @@ jobs:
64116
- run: scripts/install.ps1
65117
shell: pwsh
66118
- name: Analysing the code with Pylint
67-
run: pylint --reports=y --output-format=colorized src/
119+
run: pylint src/ --reports=y --output-format=colorized
68120
Flake8:
69121
runs-on: windows-latest
70122
strategy:
71123
fail-fast: false
124+
# Flake8 is tied to the version of Python on which it runs. Platform checks are ignored
72125
matrix:
73-
python-version: ["3.9", "3.10"]
126+
python-version: ["3.9", "3.10", "3.11"]
74127
steps:
75128
- name: Checkout ${{ github.repository }}/${{ github.ref }}
76129
uses: actions/checkout@v3
@@ -83,28 +136,14 @@ jobs:
83136
- run: scripts/install.ps1
84137
shell: pwsh
85138
- name: Analysing the code with Flake8
86-
run: flake8
87-
Bandit:
88-
runs-on: windows-latest
89-
steps:
90-
- name: Checkout ${{ github.repository }}/${{ github.ref }}
91-
uses: actions/checkout@v3
92-
- name: Set up Python 3.10
93-
uses: actions/setup-python@v4
94-
with:
95-
python-version: "3.10"
96-
cache: "pip"
97-
cache-dependency-path: "scripts/requirements*.txt"
98-
- run: scripts/install.ps1
99-
shell: pwsh
100-
- name: Analysing the code with Bandit
101-
run: bandit -n 1 --severity-level medium --recursive src
139+
run: flake8 src/ typings/
102140
Build:
103141
runs-on: windows-latest
104142
strategy:
105143
fail-fast: false
144+
# Only the Python version we plan on shipping matters.
106145
matrix:
107-
python-version: ["3.10"]
146+
python-version: ["3.10", "3.11"]
108147
steps:
109148
- name: Checkout ${{ github.repository }}/${{ github.ref }}
110149
uses: actions/checkout@v3
@@ -113,6 +152,7 @@ jobs:
113152
with:
114153
python-version: ${{ matrix.python-version }}
115154
cache: "pip"
155+
cache-dependency-path: "scripts/requirements.txt"
116156
- run: scripts/install.ps1
117157
shell: pwsh
118158
- run: scripts/build.ps1

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3+
# Caches
4+
.cache/
5+
36
# Byte-compiled / optimized / DLL files
47
__pycache__/
58

69
# Distribution / packaging
710
env/
811
build/
912
dist/
13+
*.prof
14+
# Generated
15+
**/gen/*.py
16+
!**/gen/*.pyi
1017

1118
# PyInstaller
1219
# Usually these files are written by a python script from a template
@@ -16,3 +23,4 @@ dist/
1623

1724
# Dev settings
1825
*.pkl
26+
settings.toml

.markdownlint.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"default": true,
3+
"MD001": false,
4+
"MD013": false,
5+
"MD025": false
6+
}

.sonarcloud.properties

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sonar.python.version=3.9, 3.10, 3.11

.vscode/extensions.json

+33-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,41 @@
1+
// Keep in alphabetical order
12
{
23
"recommendations": [
3-
"ms-python.vscode-pylance",
4-
"ms-python.python",
5-
"sonarsource.sonarlint-vscode",
4+
"bungcip.better-toml",
65
"davidanson.vscode-markdownlint",
6+
"eamodio.gitlens",
7+
"emeraldwalk.runonsave",
8+
"ms-python.autopep8",
9+
"ms-python.flake8",
10+
"ms-python.isort",
11+
"ms-python.pylint",
12+
"ms-python.python",
13+
"ms-python.vscode-pylance",
14+
"ms-vscode.powershell",
15+
"pkief.material-icon-theme",
16+
"redhat.vscode-xml",
17+
"redhat.vscode-yaml",
718
"shardulm94.trailing-spaces",
8-
"eamodio.gitlens"
919
],
1020
"unwantedRecommendations": [
21+
// Must disable in this workspace //
22+
// https://github.com/microsoft/vscode/issues/40239 //
23+
//
24+
// VSCode has implemented an optimized version
25+
"coenraads.bracket-pair-colorizer",
26+
"coenraads.bracket-pair-colorizer-2",
27+
// Obsoleted by Pylance
1128
"ms-pyright.pyright",
12-
"esbenp.prettier-vscode"
13-
]
29+
// Not configurable per workspace, tends to conflict with other linters
30+
"sonarsource.sonarlint-vscode",
31+
//
32+
// Don't recommend to autoinstall //
33+
//
34+
// We use autopep8
35+
"ms-python.black-formatter",
36+
// This is a Git project
37+
"johnstoncode.svn-scm",
38+
// Prefer using VSCode itself as a text editor
39+
"vscodevim.vim",
40+
],
1441
}

.vscode/launch.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python: AutoSplit (debug non-user code)",
9+
"type": "python",
10+
"request": "launch",
11+
"preLaunchTask": "Compile resources",
12+
"program": "src/AutoSplit.py",
13+
"console": "integratedTerminal",
14+
"justMyCode": false
15+
},
16+
{
17+
"name": "Python: AutoSplit",
18+
"type": "python",
19+
"request": "launch",
20+
"preLaunchTask": "Compile resources",
21+
"program": "src/AutoSplit.py",
22+
"console": "integratedTerminal",
23+
"justMyCode": true
24+
},
25+
{
26+
"name": "Python: AutoSplit --auto-controlled",
27+
"type": "python",
28+
"request": "launch",
29+
"preLaunchTask": "Compile resources",
30+
"program": "src/AutoSplit.py",
31+
"args": [
32+
"--auto-controlled"
33+
],
34+
"console": "integratedTerminal",
35+
"justMyCode": true
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)