Skip to content

Commit

Permalink
Anotate codespell-ignore cases
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Apr 8, 2024
1 parent 1a5ec5b commit bc347bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ckan/tests/lib/test_munge.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_munge_name_pass(original, expected):
("s", "s_"), # too short
("random:other%character&", "random-othercharacter"),
(u"u with umlaut \xfc", "u-with-umlaut-u"),
("reallylong" * 12, "reallylong" * 9 + "reall"),
("reallylong" * 12, "reallylong" * 9 + "reall"), # codespell-ignore
("reallylong" * 12 + " - 2012", "reallylong" * 9 + "-2012"),
(
"10cm - 50cm Near InfraRed (NI) Digital Aerial Photography (AfA142)",
Expand Down
2 changes: 1 addition & 1 deletion ckanext/datastore/tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def test_create_invalid_alias_name(self, app):

data = {
"resource_id": resource.id,
"aliases": u"fo%25bar", # alias with percent
"aliases": u"fo%25bar", # alias with percent # codespell-ignore
"fields": [
{"id": "book", "type": "text"},
{"id": "author", "type": "text"},
Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/plugins/jquery.inherit.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ describe('jQuery.inherit()', function () {
})
});

it('should set the childs prototype object', function () {
it('should set the childs prototype object', function () { /* codespell-ignore */
cy.window().then(win => {
let target = new (win.jQuery.inherit(this.MyClass))();
assert.isFunction(target.method);
})
});

it('should copy over the childs static properties', function () {
it('should copy over the childs static properties', function () { /* codespell-ignore */
cy.window().then(win => {
let Target = win.jQuery.inherit(this.MyClass);
assert.isFunction(Target.static);
Expand Down

0 comments on commit bc347bb

Please sign in to comment.