Just like #1884 but on a different file.
```
./src/Tools/FCFileTools.py:47:50: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
./src/Tools/FCFileTools.py:86:54: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
```
Was split out of #1885...
```
./src/Tools/ArchiveNameFromVersionHeader.py:41:34: E999 TabError: inconsistent use of tabs and spaces in indentation
version['FCRepositoryHash'] = SHA
^
```
customwidgets.cpp: In member function ‘virtual void Gui::AccelLineEdit::keyPressEvent(QKeyEvent*)’:
customwidgets.cpp:287:38: error: no match for ‘operator+’ (operand types are ‘Qt::Modifier’ and ‘QKeySequence’)
QKeySequence key(Qt::CTRL+key);
~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:38:0,
from customwidgets.cpp:24:
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt`
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
This prevents the following error when using fcinfo as diff driver for WebTools Git:
(...)
File "/usr/local/bin/fcinfo", line 89, in startElement
print (" " + key + " : " + val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 17: ordinal not in range(128)
fatal: unable to read files to diff