Skip to content

Commit

Permalink
Merge pull request #2064 from PyCQA/removal/python-3.7
Browse files Browse the repository at this point in the history
Removal Python 3.7
  • Loading branch information
staticdev authored Jan 3, 2023
2 parents b20228c + 64c983e commit 03a9949
Show file tree
Hide file tree
Showing 18 changed files with 978 additions and 2,182 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[run]
branch = True
omit =
isort/_future/*
isort/_vendored/*
except ImportError:
tests/*
Expand Down
1 change: 0 additions & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ test_patterns = ["tests/**"]
exclude_patterns = [
"tests/**",
"scripts/**",
"isort/_future/**",
"isort/_vendored/**",
]

Expand Down
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
max-line-length = 100
# Ignore non PEP 8 compliant rules as suggested by black
extend-ignore =
E203 # https://github.com/psf/black/blob/master/docs/the_black_code_style.md#slices
E203, # https://github.com/psf/black/blob/master/docs/the_black_code_style.md#slices
E501
exclude = _vendored
per-file-ignores =
isort/__init__.py:F401
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ isort is a Python utility / library to sort imports alphabetically, and
automatically separated into sections and by type. It provides a command line
utility, Python library and [plugins for various
editors](https://github.com/pycqa/isort/wiki/isort-Plugins) to
quickly sort all your imports. It requires Python 3.7+ to run but
quickly sort all your imports. It requires Python 3.8+ to run but
supports formatting Python 2 code too.

- [Try isort now from your browser!](https://pycqa.github.io/isort/docs/quick_start/0.-try.html)
Expand Down
5 changes: 2 additions & 3 deletions docs/configuration/black_compatibility.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![isort loves black](https://raw.githubusercontent.com/pycqa/isort/main/art/isort_loves_black.png)

Compatibility with black
========
# Compatibility with black

Compatibility with black is very important to the isort project and comes baked in starting with version 5.
All that's required to use isort alongside black is to set the isort profile to "black".
Expand Down Expand Up @@ -33,9 +32,9 @@ A demo of how this would look like in your _.travis.yml_
```yaml
language: python
python:
- "3.10"
- "3.9"
- "3.8"
- "3.7"

install:
- pip install -r requirements-dev.txt
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/1.-contributing-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Account Requirements:

Base System Requirements:

- Python3.7+
- Python3.8+
- poetry
- bash or a bash compatible shell (should be auto-installed on Linux / Mac)
- WSL users running Ubuntu may need to install Python's venv module even after installing Python.
Expand Down
12 changes: 0 additions & 12 deletions isort/_future/__init__.py

This file was deleted.

Loading

0 comments on commit 03a9949

Please sign in to comment.