Skip to content

Commit d7f22c6

Browse files
committed
Update all dev tools, update precious config, and fix linting issues
1 parent d399956 commit d7f22c6

File tree

6 files changed

+25
-13
lines changed

6 files changed

+25
-13
lines changed

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
old custom locale registration system with something much simpler. Instead
170170
of providing a new class you simply provide a hash of data for the locale
171171
and it becomes available for use via DateTime::Local->load. Implemented by
172-
Ryley Breiddal. PR #21. Addresse GH #19.
172+
Ryley Breiddal. PR #21. Addresses GH #19.
173173

174174

175175
1.20 2018-05-06

_typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
Claus = "Claus"

lib/DateTime/Locale.pm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ sub native_names {
152152
: [ keys %DateTime::Locale::Data::NativeNames ];
153153
}
154154

155-
# These are hard-coded for backwards comaptibility with the DateTime::Language
155+
# These are hard-coded for backwards compatibility with the DateTime::Language
156156
# code.
157157
my %DateTimeLanguageAliases = (
158158

@@ -167,11 +167,11 @@ my %DateTimeLanguageAliases = (
167167
'French' => 'fr-FR',
168168

169169
# 'Gedeo' => undef, # XXX
170-
'German' => 'de-DE',
171-
'Italian' => 'it-IT',
172-
'Norwegian' => 'no-NO',
173-
'Oromo' => 'om-ET', # Maybe om-KE or plain om ?
174-
'Portugese' => 'pt-PT',
170+
'German' => 'de-DE',
171+
'Italian' => 'it-IT',
172+
'Norwegian' => 'no-NO',
173+
'Oromo' => 'om-ET', # Maybe om-KE or plain om ?
174+
'Portuguese' => 'pt-PT',
175175

176176
# 'Sidama' => 'sid',
177177
'Somali' => 'so-SO',

mise.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tools]
2-
node = "22.11.0"
3-
"npm:prettier" = "3.4.1"
4-
taplo = "0.9.3"
5-
"ubi:houseabsolute/omegasort" = "0.1.3"
6-
"ubi:houseabsolute/precious" = "0.8.0"
2+
node = "24.14.0"
3+
"npm:prettier" = "3.8.1"
4+
taplo = "0.10.0"
5+
typos = "1.44.0"
6+
"github:houseabsolute/omegasort" = "0.1.3"
7+
"github:houseabsolute/precious" = "0.10.2"

precious.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,12 @@ lint_flags = "--check"
8888
ok_exit_codes = 0
8989
lint_failure_exit_codes = 1
9090
ignore_stderr = "INFO taplo.+"
91+
92+
[commands.typos]
93+
type = "lint"
94+
include = "**/*"
95+
exclude = [".stopwords", "lib/DateTime/Locale/Catalog.pm", "lib/DateTime/Locale/Data.pm"]
96+
cmd = "typos"
97+
invoke = "once"
98+
ok-exit-codes = 0
99+
lint-failure-exit-codes = 2

t/basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ sub check_DT_Lang {
642642
TigrinyaEthiopian
643643
TigrinyaEritrean
644644
Brazilian
645-
Portugese
645+
Portuguese
646646
);
647647

648648
foreach my $old (@old_names) {

0 commit comments

Comments
 (0)