Add codespell CI, fix typos

This commit is contained in:
sashacmc
2026-06-15 00:14:59 +02:00
parent c702605e01
commit bb5ca11c85
4 changed files with 16 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
name: Codespell
on: [push, pull_request]
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
skip: "*.log,*.lock,node_modules,build,dist,debian,test_data,test_data_bak,*.egg-info,.git"
ignore_words_list: "foto"
+1
View File
@@ -1,6 +1,7 @@
# Photo Importer
![CodeQL](https://github.com/sashacmc/photo-importer/workflows/CodeQL/badge.svg)
![Codespell](https://github.com/sashacmc/photo-importer/actions/workflows/codespell.yml/badge.svg)
[![PyPI - Version](https://img.shields.io/pypi/v/photo-importer.svg)](https://pypi.org/project/photo-importer)
[![PyPI - Downloads](https://pepy.tech/badge/photo-importer)](https://pepy.tech/project/photo-importer)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+1 -1
View File
@@ -38,7 +38,7 @@ umask = 0o000
# Use jpegtran in place of exiftran (bool, 0/1)
use_jpegtran = 1
# Use shutil libarary in place of system calls (bool, 0/1)
# Use shutil library in place of system calls (bool, 0/1)
# slower but provide more cross platform compatibility
use_shutil = 1
+1 -1
View File
@@ -38,7 +38,7 @@ umask = 0o000
# Use jpegtran in place of exiftran (bool, 0/1)
use_jpegtran = 0
# Use shutil libarary in place of system calls (bool, 0/1)
# Use shutil library in place of system calls (bool, 0/1)
# slower but provide more cross platform compatibility
use_shutil = 0