Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal Python 3.7 #2064

Merged
merged 5 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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