aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-04-29 10:20:17 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-04-29 10:25:10 +0200
commit2ef880a9cf9fc11ff23874c945dcd394898ea092 (patch)
tree181553081130b0b03da2f225ceea540b64bb218b
parentd2362a629d9871f535493b2ff92bcad415ae6dcd (diff)
downloadgit-deps-2ef880a9cf9fc11ff23874c945dcd394898ea092.tar.gz
fix py2k->py3k problmes
-rwxr-xr-xgit_deps/cli.py3
-rw-r--r--setup.py10
-rw-r--r--tests/conftest.py3
-rw-r--r--tests/test_GitUtils.py5
4 files changed, 4 insertions, 17 deletions
diff --git a/git_deps/cli.py b/git_deps/cli.py
index 701b004..a14352d 100755
--- a/git_deps/cli.py
+++ b/git_deps/cli.py
@@ -1,5 +1,4 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
"""
git-deps - automatically detect dependencies between git commits
Copyright (C) 2013 Adam Spiers <git@adamspiers.org>
diff --git a/setup.py b/setup.py
index 1b86b71..b66c5ad 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,4 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
- Setup file for git_deps.
-
- This file was generated with PyScaffold, a tool that easily
- puts up a scaffold for your new Python project. Learn more under:
- http://pyscaffold.readthedocs.org/
-"""
+#!/usr/bin/env python3
import sys
from setuptools import setup
diff --git a/tests/conftest.py b/tests/conftest.py
index 4bea8c5..0aa8f4f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,5 +1,4 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
+#!/usr/bin/env python3
"""
Dummy conftest.py for git_deps.
diff --git a/tests/test_GitUtils.py b/tests/test_GitUtils.py
index 4d8df25..cf53646 100644
--- a/tests/test_GitUtils.py
+++ b/tests/test_GitUtils.py
@@ -1,7 +1,4 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-# import pytest
+#!/usr/bin/env python3
from git_deps.gitutils import GitUtils