Skip to content

Commit bea27ca

Browse files
author
Krauter
committed
added, applied and corrected pre_commits
1 parent 93cd8e3 commit bea27ca

File tree

6,093 files changed

+139217
-142558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,093 files changed

+139217
-142558
lines changed

.codespell_ignore_words.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ans
2+
conexant
3+
doub
4+
enver
5+
gage
6+
hight
7+
inout
8+
ist
9+
mor
10+
mot
11+
nd
12+
numer
13+
oclock
14+
pevent
15+
puls
16+
ser
17+
serie
18+
te
19+
timestemp

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/mainsite_hidden/build
2+
__pycache__

.pre-commit-config.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Exclude specific versions from pre-commit checks
2+
exclude: |
3+
(?x)(
4+
^v1-0-1[3-4]/|
5+
^v1-[1-4]-0/|
6+
^v2-[0-2]-[0-1]/|
7+
^v3-[0-2]-[0-1]/|
8+
^v4-0-0/|
9+
^v4-1-0/|
10+
^v4-2-0/|
11+
^mainsite_hidden/source_old/|
12+
^mainsite_hidden/z_old_stuff/|
13+
^latest/docs/_sources/11_demos/
14+
\.svg$|
15+
\.js$|
16+
\.js_t$|
17+
\.css$|
18+
\.js.map$|
19+
\.css.map$
20+
)
21+
22+
autoupdate_schedule: monthly
23+
24+
repos:
25+
- repo: https://github.com/pre-commit/pre-commit-hooks
26+
rev: v4.6.0
27+
hooks:
28+
- id: check-yaml
29+
- id: end-of-file-fixer
30+
- id: trailing-whitespace
31+
- id: fix-byte-order-marker
32+
33+
- repo: https://github.com/codespell-project/codespell
34+
rev: v2.2.6
35+
hooks:
36+
- id: codespell
37+
args:
38+
- --skip=*.ts,*.svg,*.hqx,*-inv.txt,*.iss.in,*.html,*.rst.txt # Skip specific file types
39+
- --ignore-words=.codespell_ignore_words.txt
40+
41+
- repo: https://github.com/asottile/pyupgrade
42+
rev: v3.15.2
43+
hooks:
44+
- id: pyupgrade
45+
args:
46+
- --py36-plus # Upgrade syntax to Python 3.6+ compatible
47+
48+
- repo: https://github.com/sphinx-contrib/sphinx-lint
49+
rev: v0.9.1
50+
hooks:
51+
- id: sphinx-lint

README.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

_sources/collaboration.rst.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Collaboration
44
==============
55

6-
The main development of **itom** is done by **Institut für Technische Optik** of university of Stuttgart in Germany.
6+
The main development of **itom** is done by **Institut für Technische Optik** of university of Stuttgart in Germany.
77
However, the core development team is supported by further institutions and companies, that provide further plugins,
88
do bug fixes, develop new features or participate in the general development of **itom**.
99

@@ -16,11 +16,11 @@ Among others, we thank the following institutions for their support:
1616
:target: http://www.twip-os.com
1717

1818
Company |twip optical solutions GmbH|_
19-
19+
2020
for their intense contribution to the core, to many plugins as well as designer plugins.
2121
They also provide their own plugin repository for **itom** under http://twipos.bitbucket.org/
2222
where you can find an enhanced 3D visualization plugin (also part of the **itom** Windows setup).
23-
23+
2424
**twip optical solutions** also offers commercial support for **itom** as well as the development of plugins. For more
2525
information see `TWIP <http://www.twip-os.com/?lang=en#services>`_.
2626

@@ -32,8 +32,8 @@ Among others, we thank the following institutions for their support:
3232
:alt: IPROM, TU Braunschweig
3333
:target: http://iprom.tu-bs.de/
3434

35-
|Institut für Produktionsmesstechnik, TU Braunschweig|_
36-
35+
|Institut für Produktionsmesstechnik, TU Braunschweig|_
36+
3737
for their development and contribution to several plugins (e.g. AVTVimba).
3838

3939
-----
@@ -45,7 +45,7 @@ Among others, we thank the following institutions for their support:
4545
:target: http://www.pulsar-photonics.de
4646

4747
Company |Pulsar Photonics GmbH|_
48-
48+
4949
for their contribution to several plugins (e.g. IDSuEye, AerotechEnsemble).
5050

5151
-----
@@ -57,7 +57,7 @@ Among others, we thank the following institutions for their support:
5757
:target: http://www.swansea.ac.uk/biosci/researchgroups/slam/
5858

5959
|Group Swansea Lab for Animal Movement - Animal ecology and behaviour of Swansea University(UK)|_
60-
60+
6161
for their contribution to plugins (QImaging camera).
6262

6363
-----
@@ -66,16 +66,16 @@ Among others, we thank the following institutions for their support:
6666

6767
You can also register to the `mailing list <https://lists.sourceforge.net/lists/listinfo/itom-discussions>`_ in order to obtain news about *itom*. You can also use this mailing list if you have questions or comments.
6868

69-
69+
7070

7171
.. |twip optical solutions GmbH| replace:: *twip optical solutions GmbH*
7272
.. _twip optical solutions GmbH: http://www.twip-os.com/
7373

74-
.. |Institut für Produktionsmesstechnik, TU Braunschweig| replace:: *Institut für Produktionsmesstechnik, TU Braunschweig*
75-
.. _Institut für Produktionsmesstechnik, TU Braunschweig: http://iprom.tu-bs.de/
74+
.. |Institut für Produktionsmesstechnik, TU Braunschweig| replace:: *Institut für Produktionsmesstechnik, TU Braunschweig*
75+
.. _Institut für Produktionsmesstechnik, TU Braunschweig: http://iprom.tu-bs.de/
7676

7777
.. |Pulsar Photonics GmbH| replace:: *Pulsar Photonics GmbH*
7878
.. _Pulsar Photonics GmbH: http://www.pulsar-photonics.de
7979

8080
.. |Group Swansea Lab for Animal Movement - Animal ecology and behaviour of Swansea University(UK)| replace:: *Group Swansea Lab for Animal Movement - Animal ecology and behaviour of Swansea University(UK)*
81-
.. _Group Swansea Lab for Animal Movement - Animal ecology and behaviour of Swansea University(UK): http://www.swansea.ac.uk/biosci/researchgroups/slam/
81+
.. _Group Swansea Lab for Animal Movement - Animal ecology and behaviour of Swansea University(UK): http://www.swansea.ac.uk/biosci/researchgroups/slam/

_sources/documentation.rst.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Version 4.2.0:
4545

4646
* `User documentation <https://itom.bitbucket.io/v4-2-0/docs>`_
4747
* `Doxygen source code documentation <https://itom.bitbucket.io/v4-2-0/doxygen>`_
48-
48+
4949
Version 4.1.0:
5050

5151
* `User documentation <https://itom.bitbucket.io/v4-1-0/docs>`_
@@ -60,7 +60,7 @@ Version 3.2.1:
6060

6161
* `User documentation <https://itom.bitbucket.io/v3-2-1/docs>`_
6262
* `Doxygen source code documentation <https://itom.bitbucket.io/v3-2-1/doxygen>`_
63-
63+
6464
Version 3.2.0:
6565

6666
* `User documentation <https://itom.bitbucket.io/v3-2-0/docs>`_
@@ -145,12 +145,10 @@ Here you will find presentations and posters about **itom**:
145145
The following publications are available and can also be used as references:
146146

147147
* Applied Optics Journal Paper (http://www.opticsinfobase.org/ao/abstract.cfm?uri=ao-53-14-2974)::
148-
148+
149149
M. Gronle, W. Lyda, M. Wilke, C. Kohler, and W. Osten, "itom: an open source metrology, automation, and data evaluation software," Appl. Opt. 53, 2974-2982 (2014)
150-
151150

152-
* Conference Paper, Fringe 2013 (http://link.springer.com/chapter/10.1007/978-3-642-36359-7_181)::
153-
154-
Gronle, M., Kohler, C., Wilke, M., Lyda, W., Bieger, H., Osten, W., "itom - An Open Source Measurement, Automation and Evaluation Software Suite", in:Fringe 2013, 957-964 (2013)
155151

152+
* Conference Paper, Fringe 2013 (http://link.springer.com/chapter/10.1007/978-3-642-36359-7_181)::
156153

154+
Gronle, M., Kohler, C., Wilke, M., Lyda, W., Bieger, H., Osten, W., "itom - An Open Source Measurement, Automation and Evaluation Software Suite", in:Fringe 2013, 957-964 (2013)

_sources/download.rst.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Source Repository
4141

4242
| **source itom core:** itom core repository
4343
| **source plugins:** plugins repository
44-
| **source designer plugins:** desinger repository
44+
| **source designer plugins:** designer repository
4545
4646
Developer SDK
4747
*************
@@ -94,15 +94,15 @@ The current version 4.2.2 is available from
9494
.. important::
9595

9696
Error message regarding PYTHONHOME variable
97-
If a new itom setup version is installed on a computer with an already installed itom and Python can not be started,
98-
it may be a problem with python environment variables. First, delete this variable, reboot your system und install itom again.
97+
If a new itom setup version is installed on a computer with an already installed itom and Python can not be started,
98+
it may be a problem with python environment variables. First, delete this variable, reboot your system und install itom again.
9999

100100

101101
.. note::
102-
102+
103103
Error message from Python packages
104-
If some Python packages (**matplotlib, scipy, numpy**) return an error message that a dll-file can not be loaded,
105-
the Visual C++ Redistributable is not correctly installed. Try to reinstall it.
104+
If some Python packages (**matplotlib, scipy, numpy**) return an error message that a dll-file can not be loaded,
105+
the Visual C++ Redistributable is not correctly installed. Try to reinstall it.
106106
The current version can be downloaded here: https://www.microsoft.com/de-de/download/details.aspx?id=48145
107107

108108
.. raw:: html
@@ -137,7 +137,7 @@ The current version 4.2.2 is available from
137137

138138
<button class="accordion" style="font-family:Roboto">Components of old versions</button>
139139
<div class="panel">
140-
140+
141141
**Version 4.2.0** compiled using:
142142

143143
* Qt 5.12.6
@@ -328,7 +328,7 @@ The current version 4.2.2 is available from
328328
* openCV 3.1.0
329329
* QScintilla 2.9.1
330330
* Pip 9.0.1
331-
* Numpy 1.11.3 + MKL
331+
* Numpy 1.11.3 + MKL
332332
* Scipy 0.19.0
333333
* six 1.10.0
334334
* pytz 2017.2
@@ -354,7 +354,7 @@ The current version 4.2.2 is available from
354354
* compiled using Qt5.6.1-1
355355
* Python 3.5.1
356356
* Pip 8.1.2
357-
* Numpy 1.11.1 + MKL
357+
* Numpy 1.11.1 + MKL
358358
* Scipy 0.18.0
359359
* six 1.10.0
360360
* pytz 2016.6
@@ -377,7 +377,7 @@ The current version 4.2.2 is available from
377377
* compiled using Qt5.3.2
378378
* Python 3.5.1
379379
* Pip 8.0.3
380-
* Numpy 1.10.4 + MKL
380+
* Numpy 1.10.4 + MKL
381381
* Scipy 0.17.0
382382
* six 1.10.0
383383
* pytz 2015.7
@@ -397,7 +397,7 @@ The current version 4.2.2 is available from
397397

398398
* compiled using Qt5.3.2
399399
* Python 3.4.2
400-
* Numpy 1.9.2 + MKL
400+
* Numpy 1.9.2 + MKL
401401
* Scipy 0.15.1
402402
* Matplotlib 1.4.3
403403
* Frosted 1.4.1

_sources/examples.rst.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Examples
77
:maxdepth: 1
88
:hidden:
99
:glob:
10-
10+
1111
examples/*
1212

1313

@@ -40,5 +40,3 @@ Examples
4040
<div class="mdl-card__actions mdl-card--border"><a href=".\examples\nanoMess.html" class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--primary mdl-js-ripple-effect"><i class="material-icons">add</i></a></div>
4141
</div>
4242
</div>
43-
44-

_sources/examples/faceDetect.rst.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you need further assistance, check out the links below.
3838
cam.enableAutoGrabbing()
3939
else:
4040
cam.disableAutoGrabbing()
41-
41+
4242
def snap():
4343
d = dataObject()
4444
cam.startDevice()
@@ -89,9 +89,9 @@ Result
8989
:alt: Facedetection
9090
:width: 90%
9191
:align: center
92-
92+
9393
.. raw:: html
94-
94+
9595
<hr>
9696

9797
Resources
@@ -102,4 +102,3 @@ Resources
102102
.. raw:: html
103103

104104
<iframe width="560" height="315" src="https://www.youtube.com/embed/88HdqNDQsEk?rel=0" frameborder="0" allowfullscreen></iframe>
105-

_sources/examples/hough.rst.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,3 @@ For more information: `Hough Line Transform <http://opencv-python-tutroals.readt
2929
.. raw:: html
3030

3131
<hr>
32-
33-
34-

0 commit comments

Comments
 (0)