Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and add codespell lint task #53

Merged
merged 1 commit into from
Oct 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typos and add codespell lint task
  • Loading branch information
kianmeng committed Oct 28, 2022
commit 43cf867f5ff4640595bd6adbd28ebb12de3cf202
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ lint:
black tests/
flake8 src
flake8 tests
codespell -S venv,po

install:
flatpak install flathub org.gnome.Sdk/x86_64/42
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ git push --tags
git clone https://github.com/flathub/com.github.lachhebo.Gabtag.git
cd com.github.lachhebo.Gabtag
sed -i 's/"tag": "'${LATEST_TAG}'"/"tag": "'${RELEASE_NUMBER}'"/g' com.github.lachhebo.Gabtag.json
git commit -am "upgrade to new verson "${RELEASE_NUMBER}
git commit -am "upgrade to new version "${RELEASE_NUMBER}
git push https://lachhebo:${PASSWORD_DEPLOYEMENT}@github.com/flathub/com.github.lachhebo.Gabtag.git
2 changes: 1 addition & 1 deletion po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ msgid " seconds"
msgstr " segundos"

#: src/tools.py:109
msgid "All Suported Images"
msgid "All Supported Images"
msgstr "Todas las imágenes soportadas"

#: src/tools.py:115
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ musicbrainzngs
pygobject
Pillow
flake8
pytest
pytest
pytest-coverage
pytest-bdd
pathlib
mypy
codespell
2 changes: 1 addition & 1 deletion src/audio_extension_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ def check_tag_existence(self, key: str) -> bool:

@abstractmethod
def get_tags(self) -> Dict:
"""return a dictionary containg the value of each tag"""
"""return a dictionary containing the value of each tag"""
2 changes: 1 addition & 1 deletion src/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def music_length_to_string(length):

def add_filters(dialog):
filter_all = Gtk.FileFilter()
filter_all.set_name(_("All Suported Images"))
filter_all.set_name(_("All Supported Images"))
filter_all.add_mime_type("image/png")
filter_all.add_mime_type("image/jpeg")
dialog.add_filter(filter_all)
Expand Down