mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2025-12-20 02:10:11 +01:00
trivial: add codespell configuration
This commit is contained in:
parent
5762933b30
commit
d4a3523fc1
3 changed files with 7 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ repos:
|
|||
rev: v2.2.6
|
||||
hooks:
|
||||
- id: codespell
|
||||
args: ['--write-changes']
|
||||
args: ['--config', './data/codespell.cfg', '--write-changes']
|
||||
- repo: https://github.com/ambv/black
|
||||
rev: 23.12.0
|
||||
hooks:
|
||||
|
|
|
|||
4
NEWS
4
NEWS
|
|
@ -111,7 +111,7 @@ on some systems with controllable charge speeds.
|
|||
0.10.1
|
||||
------
|
||||
|
||||
This release fixes a bug in the authorisation codepath added in 0.10.0, where holding
|
||||
This release fixes a bug in the authorization codepath added in 0.10.0, where holding
|
||||
a profile could still succeed despite having sent a denial to the calling process.
|
||||
|
||||
This release also makes the pylint test optional. It should not be used unless the goal
|
||||
|
|
@ -120,7 +120,7 @@ is to contribute patches to assuage it.
|
|||
0.10.0
|
||||
------
|
||||
|
||||
This release adds authorisation checks for the profile holds and profile switching
|
||||
This release adds authorization checks for the profile holds and profile switching
|
||||
features of the backend daemon, through polkit. It is recommended that all
|
||||
distributions upgrade to this version as soon as possible.
|
||||
|
||||
|
|
|
|||
4
data/codespell.cfg
Normal file
4
data/codespell.cfg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[codespell]
|
||||
builtin = clear,informal,en-GB_to_en-US
|
||||
skip = *.po,*.csv,*.svg,*.p7c,subprojects,.git,pcrs,build*,data/codespell.cfg
|
||||
ignore-words-list = optin
|
||||
Loading…
Add table
Reference in a new issue