Browse Source

Why not make all executable python scripts executable using:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
sync
heck 5 years ago
parent
commit
47913909df
  1. 4
      .hgignore
  2. 3
      test/basic_doctest.py
  3. 3
      test/codec_doctest.py
  4. 3
      test/doctest_PYADPT-55.py
  5. 2
      test/sync_handshake.py
  6. 2
      test/sync_test.py

4
.hgignore

@ -22,4 +22,6 @@ test/lib
test/imap_settings.py test/imap_settings.py
venv venv
launch.json launch.json
settings.json settings.json
# Default ignored files
.idea/workspace.xml

3
test/basic_doctest.py

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" """
>>> import pEp >>> import pEp
>>> me = pEp.Identity("alice.smith@peptest.ch", "Alice Smith", "23") >>> me = pEp.Identity("alice.smith@peptest.ch", "Alice Smith", "23")

3
test/codec_doctest.py

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" """
>>> import pEp >>> import pEp
>>> def messageToSend(msg): >>> def messageToSend(msg):

3
test/doctest_PYADPT-55.py

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Regression test against API breakage # Regression test against API breakage
# colors used to be represented as a simple int # colors used to be represented as a simple int
# NEW: colors are represented by colorvalue enum # NEW: colors are represented by colorvalue enum

2
test/sync_handshake.py

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 : # vim: set fileencoding=utf-8 :
"""start a handshake test for one simulated device """start a handshake test for one simulated device

2
test/sync_test.py

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 : # vim: set fileencoding=utf-8 :
"""test runner for sync tests """test runner for sync tests

Loading…
Cancel
Save