Repository: MarkusH/django-migrations-formatter (language: python)

Issue:
Set black 22.1.0 as minimum required version
Fixes #20


Discussion / hints:
# [Codecov](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann) Report
> Merging [#22](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann) (66eaf52) into [main](https://codecov.io/gh/MarkusH/django-migrations-formatter/commit/da4e8132d12dc68d78fb5c214ee4587edf26cbe1?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann) (da4e813) will **not change** coverage.
> The diff coverage is `100.00%`.

[![Impacted file tree graph](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22/graphs/tree.svg?width=650&height=150&src=pr&token=8mson2dE0y&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann)](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann)

```diff
@@            Coverage Diff            @@
##              main       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           37        38    +1     
  Branches         4         4           
=========================================
+ Hits            37        38    +1     
```


| [Impacted Files](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann) | Coverage Δ | |
|---|---|---|
| [django\_migrations\_formatter/\_\_init\_\_.py](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann#diff-ZGphbmdvX21pZ3JhdGlvbnNfZm9ybWF0dGVyL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann). Last update [2b92f07...66eaf52](https://codecov.io/gh/MarkusH/django-migrations-formatter/pull/22?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Holtermann).


Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8608c7e..b902ecf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
 
 ## Under development
 
+- Removed support for Python 3.6.
+
 - Removed support for Django 3.0 and 3.1.
 
 - A minimum version of `black>=22.1.0` is required.
diff --git a/setup.py b/setup.py
index 79aeeac..49f23dd 100644
--- a/setup.py
+++ b/setup.py
@@ -48,11 +48,10 @@
         "Operating System :: OS Independent",
         "Programming Language :: Python",
         "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
     ],
-    python_requires=">=3.6",
+    python_requires=">=3.7",
 )


Test patch:
diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml
index 1e74fda..2ccf588 100644
--- a/.github/workflows/test-deploy.yml
+++ b/.github/workflows/test-deploy.yml
@@ -17,14 +17,12 @@ jobs:
     strategy:
       matrix:
         django-version: ["2.2.0", "3.2.0", "4.0.0"]
-        python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
+        python-version: ["3.7", "3.8", "3.9", "3.10"]
         exclude:
           # 2.2
           - django-version: "2.2.0"
             python-version: "3.10"
           # 4.0
-          - django-version: "4.0.0"
-            python-version: "3.6"
           - django-version: "4.0.0"
             python-version: "3.7"
       fail-fast: false