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 2f155c7 commit 3e727c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
26 changes: 3 additions & 23 deletions .pylint_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Our abbreviations/names
CFF
Zenodo
LCM

# Python types
AbstractBase
LogCapture
RawConfigParser
ZipFile

# Python packages

# Our "special" words
metaclasses

# Python bits
iter

# Misc
Github
haha
X'th
# 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_utilities
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_utilities

0 comments on commit 3e727c1

Please sign in to comment.