Skip to content

Commit

Permalink
move spelling exceptions to support scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Feb 12, 2024
1 parent fc8826e commit 6dba867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .pylint_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Our abbreviations/names
IgnoreChip
IgnoreCore
IgnoreLink
# We use a single exception files for all the main repsitories
# It can be found at:
# https://github.com/SpiNNakerManchester/SupportScripts/blob/master/actions/pylint/default_dict.txt
7 changes: 1 addition & 6 deletions pylint.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,4 @@
# requires the spelling dicts
# sudo apt-get -o Dpkg::Use-Pty=0 install --fix-missing enchant-2 hunspell hunspell-en-gb

dict=/tmp/dict.txt

cat "../SupportScripts/actions/pylint/default_dict.txt" >$dict
cat ".pylint_dict.txt" >>$dict

pylint --output-format=colorized --disable=R --persistent=no --jobs=1 --rcfile=../SupportScripts/actions/pylint/strict_rcfile --spelling-dict=en_GB --spelling-private-dict-file=$dict spinn_machine
pylint --output-format=colorized --disable=R --persistent=no --jobs=1 --rcfile=../SupportScripts/actions/pylint/strict_rcfile --spelling-dict=en_GB --spelling-private-dict-file="../SupportScripts/actions/pylint/default_dict.txt" spinn_machine

0 comments on commit 6dba867

Please sign in to comment.