diff --git a/.gitattributes b/.gitattributes index 0f09d326..cc23192c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ * text=auto eol=lf -*.bat text eol=crlf \ No newline at end of file +*.bat text eol=crlf diff --git a/.github/scripts/bump-versions.py b/.github/scripts/bump-versions.py index 1fe8cdf6..f149249e 100644 --- a/.github/scripts/bump-versions.py +++ b/.github/scripts/bump-versions.py @@ -42,7 +42,7 @@ def bump_version(file: Path): print(f"\n{file}: ", end="") text = VERSION_REGEX.sub(replace_version, f.read()) # Move the cursor to the start again, to prevent writing at the end - f.seek(0) + f.seek(0) f.write(text) def bump_lib_multisrc(theme: str): diff --git a/.github/scripts/create-repo.py b/.github/scripts/create-repo.py index 09c31c2c..fbc57fe4 100644 --- a/.github/scripts/create-repo.py +++ b/.github/scripts/create-repo.py @@ -40,7 +40,7 @@ for apk in REPO_APK_DIR.iterdir(): ).decode() package_info = next(x for x in badging.splitlines() if x.startswith("package: ")) - package_name = PACKAGE_NAME_REGEX.search(package_info).group(1) + package_name = PACKAGE_NAME_REGEX.search(package_info).group(1) application_icon = APPLICATION_ICON_320_REGEX.search(badging).group(1) with ZipFile(apk) as z, z.open(application_icon) as i, ( diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..1ceebf7c --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 # Use the latest stable version + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace diff --git a/LICENSE b/LICENSE index 8f71f43f..8dada3ed 100644 --- a/LICENSE +++ b/LICENSE @@ -199,4 +199,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - diff --git a/README.md b/README.md index 9ca309a5..dc51cfdc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Guide -just paste this into your anime repo +just paste this into your anime repo ``` https://raw.githubusercontent.com/Kohi-den/extensions/main/index.min.json ``` @@ -10,7 +10,7 @@ If your interested in installing just the apks they can be found [Here](https:// Join the [Discord](https://discord.gg/vut4mmXQzU) for updates and announcements -and please check the discord BEFORE making an issue +and please check the discord BEFORE making an issue ## Contributing diff --git a/ktlintCodeStyle.xml b/ktlintCodeStyle.xml index e1422c7c..fa4a4328 100644 --- a/ktlintCodeStyle.xml +++ b/ktlintCodeStyle.xml @@ -133,4 +133,4 @@