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. 2
      .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

2
.hgignore

@ -23,3 +23,5 @@ test/imap_settings.py
venv
launch.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
>>> 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
>>> 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
# colors used to be represented as a simple int
# 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 :
"""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 :
"""test runner for sync tests

Loading…
Cancel
Save