diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c38ce96d..76343e41 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,21 +1,21 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.1.0 + rev: v2.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements - repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.7 + rev: 3.7.9 hooks: - id: flake8 exclude: ^docs/conf.py - repo: https://github.com/asottile/pyupgrade - rev: v1.12.0 + rev: v1.26.2 hooks: - id: pyupgrade - repo: https://github.com/asottile/add-trailing-comma - rev: v1.0.0 + rev: v1.5.0 hooks: - id: add-trailing-comma diff --git a/README.rst b/README.rst index 4cd95c36..d3015ecd 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ distribution/deployment. That means you can add just ``libsass`` into your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file. Need no Ruby nor Node.js. -It currently supports CPython 2.7, 3.5--3.7, and PyPy 2.3+! +It currently supports CPython 2.7, 3.6--3.8, and PyPy 2.3+! .. _Sass: https://sass-lang.com/ .. _LibSass: https://github.com/sass/libsass diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8fb37785..83bee67c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ resources: type: github endpoint: github name: asottile/azure-pipeline-templates - ref: refs/tags/v0.0.13 + ref: refs/tags/v1.0.0 jobs: - template: job--pre-commit.yml@asottile @@ -36,17 +36,17 @@ jobs: - script: rm -rf libsass/test - template: job--python-tox.yml@asottile parameters: - toxenvs: [py35, py36, py37] + toxenvs: [py36, py37, py38] os: windows wheel_tags: true - template: job--python-tox.yml@asottile parameters: - toxenvs: [py35, py36, py37] + toxenvs: [py36, py37, py38] os: windows architecture: x86 name_postfix: _x86 wheel_tags: true - template: job--python-tox.yml@asottile parameters: - toxenvs: [pypy, pypy3, py27, py35, py36, py37] + toxenvs: [pypy, pypy3, py27, py36, py37, py38] os: linux diff --git a/sasstests.py b/sasstests.py index 1f40a977..45edc24a 100644 --- a/sasstests.py +++ b/sasstests.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import with_statement import base64 import contextlib diff --git a/sassutils/builder.py b/sassutils/builder.py index 6f92fcb6..3390f45e 100644 --- a/sassutils/builder.py +++ b/sassutils/builder.py @@ -2,7 +2,6 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ -from __future__ import with_statement import io import os diff --git a/sassutils/wsgi.py b/sassutils/wsgi.py index aed5c725..242167a4 100644 --- a/sassutils/wsgi.py +++ b/sassutils/wsgi.py @@ -2,7 +2,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ -from __future__ import absolute_import, with_statement +from __future__ import absolute_import import logging import os diff --git a/setup.py b/setup.py index e2a0c852..8a39eb2f 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from __future__ import print_function, with_statement +from __future__ import print_function import ast import atexit diff --git a/tox.ini b/tox.ini index 58e1693f..e9936c62 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = pypy,pypy3,py27,py35,py36,py37,pre-commit +envlist = pypy,pypy3,py27,py36,py37,py38,pre-commit [testenv] usedevelop = true