File tree Expand file tree Collapse file tree 5 files changed +37
-3
lines changed Expand file tree Collapse file tree 5 files changed +37
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Spell Checking
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ codespell :
7
+ name : Check spelling of all files with codespell
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ python-version : [3.8]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up Python ${{ matrix.python-version }}
15
+ uses : actions/setup-python@v2
16
+ with :
17
+ python-version : ${{ matrix.python-version }}
18
+ - name : Install dependencies
19
+ run : |
20
+ python -m pip install --upgrade pip
21
+ pip install codespell
22
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
23
+ - name : Check spelling with codespell
24
+ run : codespell --ignore-words=codespell.txt || exit 1
25
+ misspell :
26
+ name : Check spelling of all files in commit with misspell
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - name : Install
31
+ run : wget -O - -q https://git.io/misspell | sh -s -- -b .
32
+ - name : Misspell
33
+ run : git ls-files --empty-directory | xargs ./misspell -i 'enviromnent' -error
Original file line number Diff line number Diff line change
1
+ developpment
Original file line number Diff line number Diff line change 9
9
- bin/*
10
10
- db/schema.rb
11
11
# What version of Rails is the inspected code using? If a value is specified
12
- # for TargetRailsVersion then it is used. Acceptable values are specificed
12
+ # for TargetRailsVersion then it is used. Acceptable values are specified
13
13
# as a float (i.e. 5.1); the patch version of Rails should not be included.
14
14
# If TargetRailsVersion is not set, RuboCop will parse the Gemfile.lock or
15
15
# gems.locked file to find the version of Rails that has been bound to the
Original file line number Diff line number Diff line change 6
6
7
7
### Changes
8
8
9
- * [ #301 ] ( https://github.com/rubocop/rubocop-rails/issues/301 ) : Set disalbed by default for ` Rails/PluckId ` . ([ @koic ] [ ] )
9
+ * [ #301 ] ( https://github.com/rubocop/rubocop-rails/issues/301 ) : Set disabled by default for ` Rails/PluckId ` . ([ @koic ] [ ] )
10
10
11
11
[ @taylorthurlow ] : https://github.com/taylorthurlow
12
12
[ @tejasbubane ] : https://github.com/tejasbubane
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Account < ApplicationRecord
29
29
RUBY
30
30
end
31
31
32
- it 'does not register an offense when using inplicit receiver ' \
32
+ it 'does not register an offense when using implicit receiver ' \
33
33
'in `with_options`' do
34
34
expect_no_offenses ( <<~RUBY )
35
35
class Account < ApplicationRecord
You can’t perform that action at this time.
0 commit comments