Skip to content

Commit 3db7cd9

Browse files
authored
Merge pull request #11 from best-doctor/BANG-927-python3.10
BANG-927: added python 3.10 support, removed python 3.6 support
2 parents 1824c31 + ecb4fdd commit 3db7cd9

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9]
12+
python-version: ['3.7', '3.8', '3.9', '3.10']
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/build_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9]
12+
python-version: ['3.7', '3.8', '3.9', '3.10']
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: ['3.7', '3.8', '3.9', '3.10']
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python ${{ matrix.python-version }}

flake8_variables_names/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.0.4'
1+
__version__ = '0.0.5'

requirements_dev.txt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
pytest==5.2.2
2-
pytest-cov==2.8.1
3-
flake8==3.7.9
4-
flake8-blind-except==0.1.1
5-
flake8-bugbear==20.1.4
6-
flake8-builtins==1.5.2
7-
flake8-commas==2.0.0
8-
flake8-comprehensions==3.2.2
9-
flake8-debugger==3.2.1
10-
flake8-docstrings==1.5.0
1+
pytest==6.2.5
2+
pytest-cov==3.0.0
3+
pydocstyle==6.1.1
4+
flake8==4.0.1
5+
flake8-2020==1.6.0
6+
flake8-blind-except==0.2.0
7+
flake8-bugbear==22.1.11
8+
flake8-builtins==1.5.3
9+
flake8-comprehensions==3.8.0
10+
flake8-debugger==4.0.0
11+
flake8-docstrings==1.6.0
1112
flake8-polyfill==1.0.2
1213
flake8-print==3.1.4
1314
flake8-quotes==3.0.0
1415
flake8-string-format==0.3.0
1516
flake8-todo==0.7
16-
mypy==0.790
17+
mypy==0.921
1718
flake8-annotations-complexity==0.0.6
1819
flake8-annotations-coverage==0.0.4
1920
flake8-cognitive-complexity==0.0.2
20-
safety==1.9.0
21-
pydocstyle==5.0.2
22-
flake8-2020==1.6.0
23-
flake8-eradicate==0.3.0
21+
safety==1.10.3
22+
flake8-eradicate==1.2.0
2423
flake8-fixme==1.1.1
2524
flake8-variables-names==0.0.3
26-
flake8-class-attributes-order==0.1.0
27-
flake8-broken-line==0.2.0
28-
flake8-tidy-imports==4.1.0
25+
flake8-class-attributes-order==0.1.2
26+
flake8-broken-line==0.4.0
27+
flake8-tidy-imports==4.6.0
2928
flake8-typing-imports==1.9.0
30-
dlint==0.10.3
29+
dlint==0.12.0
3130
flake8-if-statements==0.1.0
32-
flake8-functions==0.0.4
31+
flake8-functions==0.0.7
3332
flake8-expression-complexity==0.0.7

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ min-coverage-percents = 100
1616
[mypy]
1717
ignore_missing_imports = True
1818
warn_no_return = False
19-
19+
exclude = build|env|venv.*|migrations|tests

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,19 @@ def get_long_description() -> str:
3131
'Topic :: Software Development :: Libraries :: Python Modules',
3232
'Topic :: Software Development :: Quality Assurance',
3333
'Programming Language :: Python',
34-
'Programming Language :: Python :: 3.6',
3534
'Programming Language :: Python :: 3.7',
3635
'Programming Language :: Python :: 3.8',
3736
'Programming Language :: Python :: 3.9',
37+
'Programming Language :: Python :: 3.10',
3838
],
3939
packages=find_packages(),
4040
include_package_data=True,
41+
python_requires='>=3.7',
4142
keywords='flake8 naming',
4243
version=get_version(),
4344
author='Ilya Lebedev',
4445
author_email='[email protected]',
45-
install_requires=['setuptools'],
46+
install_requires=[],
4647
entry_points={
4748
'flake8.extension': [
4849
'VNE = flake8_variables_names.checker:VariableNamesChecker',

0 commit comments

Comments
 (0)