Skip to content

Commit daca1c0

Browse files
authored
Remove code formatting workflows and related configuration files (#504)
1 parent b239e9d commit daca1c0

File tree

8 files changed

+2
-159
lines changed

8 files changed

+2
-159
lines changed

.github/workflows/on_pr_check_code_format.yml

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

.github/workflows/on_push_check_code_format.yml

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

.prettierignore

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

.prettierrc.json

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

README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -78,33 +78,7 @@ To install/run a script follow the install instructions listed in individual REA
7878

7979
## Contributing
8080

81-
### Formatting
82-
83-
Formatting is enforced on all files. Follow this setup guide:
84-
85-
1. **[Yarn](https://yarnpkg.com/en/docs/install)** and **its dependencies** must be installed to run the formatting tools.
86-
```sh
87-
yarn install --frozen-lockfile
88-
```
89-
90-
2. **Python dependencies** must also be installed to format `py` files.
91-
```sh
92-
pip install -r requirements.txt
93-
```
94-
95-
#### Formatting non-`py` files
96-
97-
```sh
98-
yarn run format
99-
```
100-
101-
#### Formatting `py` files
102-
103-
`py` files are formatted using [`black`](https://pypi.org/project/black/).
104-
105-
```sh
106-
yarn run format-py
107-
```
81+
Submit a PR to add your plugin, theme, userscript and other utility script to the repository.
10882

10983
## Deprecation
11084

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"name": "community-scripts",
33
"description": "This repository contains plugin and utility scripts created by the Stash community and hosted on the official GitHub repo.",
4-
"license": "AGPL-3.0-only",
5-
"scripts": {
6-
"format": "prettier --write .",
7-
"format-py": "black --exclude=\"3rd party\" ."
8-
},
9-
"devDependencies": {
10-
"prettier": "^3.2.5"
11-
}
4+
"license": "AGPL-3.0-only"
125
}

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

yarn.lock

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

0 commit comments

Comments
 (0)