From 2ef880a9cf9fc11ff23874c945dcd394898ea092 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 29 Apr 2024 10:20:17 +0200 Subject: fix py2k->py3k problmes --- git_deps/cli.py | 3 +-- setup.py | 10 +--------- tests/conftest.py | 3 +-- tests/test_GitUtils.py | 5 +---- 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 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 -- cgit