Skip to content

Commit

Permalink
Merge pull request #14 from gcarrarom/fix/pythonversion
Browse files Browse the repository at this point in the history
Changed to Python3 instead of regular Python
  • Loading branch information
gcarrarom authored Apr 20, 2020
2 parents fc484be + 97d3fdc commit d0e7c92
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 120 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ on:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"

strategy:
matrix:
python_version: [3.7,3.8]

fail-fast: true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
114 changes: 0 additions & 114 deletions azure-pipelines.yml

This file was deleted.

4 changes: 2 additions & 2 deletions kcleaner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
from __future__ import print_function
import os
import logging
Expand All @@ -14,7 +14,7 @@
def ask_yn(yn_question, default='n'):
tries = 0
while True:
response = input(f"{yn_question}(y/n)")
response = input("%s (y/n)" % (yn_question))
tries = tries + 1
if response in ['y', 'n']:
break
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='kcleaner',
version='0.3.1',
version='0.3.2',
author='Gui Martins',
url='https://fancywhale.ca/',
author_email='[email protected]',
Expand Down

0 comments on commit d0e7c92

Please sign in to comment.