Skip to content

Commit b3369bb

Browse files
authored
Merge pull request #6 from mattdeform/make-versions-branch-based
removed multiple builds in plugin source in favor of branches
2 parents 1a12099 + 1b3d493 commit b3369bb

File tree

21 files changed

+25
-67
lines changed

21 files changed

+25
-67
lines changed

.github/workflows/reusable-static-analysis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install pylint mypy
29+
pip install pip-tools
30+
pip-compile --output-file requirements.txt requirements.in requirements-dev.in requirements-test.in
31+
pip-sync requirements.txt
3032
3133
- name: Analysing the code with pylint
3234
run: |
33-
pylint plugin_src/5.4.0/pycharm_remote_debug/Content/Python
35+
pylint plugin_src/PyCharmRemoteDebug/Content/Python/
3436
3537
- name: Analysing the code with black
3638
uses: psf/black@stable
3739
with:
38-
src: "plugin_src/5.4.0/pycharm_remote_debug/Content/Python"
40+
src: "plugin_src/PyCharmRemoteDebug/Content/Python/"
3941
options: "--diff"
4042

4143
- name: Analysing the code with mypy
42-
run: mypy plugin_src/5.4.0/pycharm_remote_debug/Content/Python
44+
run: mypy plugin_src/PyCharmRemoteDebug/Content/Python/

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ To run tests locally:
8989

9090
with coverage:
9191
- ```sh
92-
pytest --cov=plugin_src/5.4.0/pycharm_remote_debug/Content/Python
92+
pytest --cov=plugin_src/PyCharmRemoteDebug/Content/Python
9393
```
9494

9595
<p align="right">(<a href="#readme-top">back to top</a>)</p>
@@ -101,20 +101,20 @@ Static code analysis is performed with [Pylint](https://pypi.org/project/pylint/
101101
To run pylint locally:
102102

103103
- ```sh
104-
pylint --rcfile=.pylintrc plugin_src/5.4.0/pycharm_remote_debug/
104+
pylint --rcfile=.pylintrc plugin_src/PyCharmRemoteDebug/Content/Python/
105105
```
106106
- A modified [.pylintrc](.pylintrc) file is provided with modifications to ignore Unreal import errors. Append to this file as needed.
107107

108108
Black formater can be run locally with:
109109

110110
- ```sh
111-
black plugin_src/5.4.0/pycharm_remote_debug/
111+
black plugin_src/PyCharmRemoteDebug/Content/Python/
112112
```
113113

114114
Run [mypy](https://mypy.readthedocs.io/en/stable/) checks locally with:
115115

116116
- ```sh
117-
mypy plugin_src/5.4.0/pycharm_remote_debug/
117+
mypy plugin_src/PyCharmRemoteDebug/Content/Python/
118118
```
119119
- A modified [mypy.ini](mypy.ini) file is included with modifications to ignore Unreal import errors. Append to this file as needed.
120120

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
</li>
5151
<li><a href="#roadmap">Roadmap</a></li>
5252
<li><a href="#contributing">Contributing</a></li>
53-
<li><a href="#license">License</a></li>
5453
<li><a href="#contact">Contact</a></li>
5554
<li><a href="#acknowledgments">Acknowledgments</a></li>
5655
</ol>
@@ -59,7 +58,7 @@
5958

6059
<!-- ABOUT THE PROJECT -->
6160
## About The Project
62-
<b>This is NOT an official JetBrains or Epic Games plugin, just a small utility I built for myself that I figured others might find useful.</b>
61+
> <b>This is <u>NOT</u> an official JetBrains or Epic Games plugin.</b>
6362
6463
<div align="center">
6564

@@ -75,7 +74,7 @@
7574

7675
### Prerequisites
7776

78-
* [Unreal 5.4.0](https://www.unrealengine.com)
77+
* [Unreal Engine 5](https://www.unrealengine.com)
7978
* [PyCharm Professional](https://www.jetbrains.com/pycharm/buy/)
8079

8180
<p align="right">(<a href="#readme-top">back to top</a>)</p>
@@ -129,14 +128,6 @@ If you have a suggestion that would make this better, please open an issue from
129128

130129
Development and contribution guidelines can be found on the [CONTRIBUTING.md](CONTRIBUTING.md) page
131130

132-
<!-- LICENSE -->
133-
## License
134-
135-
Distributed under the `insert_license_name` license. See `LICENSE` file for more information.
136-
137-
<p align="right">(<a href="#readme-top">back to top</a>)</p>
138-
139-
140131

141132
<!-- CONTACT -->
142133
## Contact
@@ -165,10 +156,5 @@ Please reach out via the [request a feature](https://github.com/mattdeform/unrea
165156
[python-url]: https://python.org/
166157
[pytest-shield]: https://img.shields.io/badge/tests-pytest-%230A9EDC
167158
[pytest-url]: https://docs.pytest.org/
168-
[github-shield]: https://img.shields.io/badge/GitHub-%23181717?logo=github
169-
[github-url]: https://github.com/
170-
[github-actions-shield]: https://img.shields.io/badge/GitHub%20Actions-%232671E5?logo=githubactions&logoColor=white
171-
[github-actions-url]: https://github.com/features/actions
172-
173159
[unreal_5-shield]: https://img.shields.io/badge/Unreal%20Engine-5.x-grey?logo=unrealengine&labelColor=%230E1128
174160
[unreal-url]: https://www.unrealengine.com/en-US

mkdocs.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

plugin_src/5.4.0/pycharm_remote_debug/Config/FilterPlugin.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[FilterPlugin]
2+
/Config/tool_config.json

plugin_src/5.4.0/pycharm_remote_debug/Content/Python/init_unreal.py renamed to plugin_src/PyCharmRemoteDebug/Content/Python/init_unreal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" Plugin initialization script """
22

33
try:
4-
from pycharmremotedebug.menu import install
4+
from pycharmremotedebug.menu import install # type: ignore
55

66
install()
77
except ImportError:

0 commit comments

Comments
 (0)