mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-03-25 18:16:37 +08:00
lint fixes
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# noinspection PyUnresolvedReferences
|
||||
from pytest_mypy.collect import File, YamlTestFile, pytest_addoption
|
||||
from pytest_mypy.collect import ( # noqa: F401
|
||||
File, YamlTestFile, pytest_addoption,
|
||||
)
|
||||
from pytest_mypy.item import YamlTestItem
|
||||
|
||||
|
||||
@@ -38,5 +40,3 @@ class NewSemanalDjangoTestItem(YamlTestItem):
|
||||
|
||||
mysettings_file = File(path='mysettings.py', content=settings_contents)
|
||||
self.files.append(mysettings_file)
|
||||
|
||||
|
||||
|
||||
@@ -1,31 +1,16 @@
|
||||
import sys
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
# with open('README.md', 'r') as f:
|
||||
# readme = f.read()
|
||||
|
||||
dependencies = [
|
||||
# 'pytest-mypy-plugins',
|
||||
# 'mypy',
|
||||
# 'decorator',
|
||||
# 'capturer'
|
||||
'pytest-mypy-plugins',
|
||||
]
|
||||
# if sys.version_info[:2] < (3, 7):
|
||||
# # dataclasses port for 3.6
|
||||
# dependencies += ['dataclasses']
|
||||
|
||||
setup(
|
||||
name='pytest-django-stubs-newsemanal',
|
||||
version='0.4.0',
|
||||
# description='pytest plugin for writing tests for mypy plugins',
|
||||
# long_description=readme,
|
||||
# long_description_content_type='text/markdown',
|
||||
license='MIT',
|
||||
url="https://github.com/mkurnikov/pytest-mypy-plugins",
|
||||
author="Maksim Kurnikov",
|
||||
author_email="maxim.kurnikov@gmail.com",
|
||||
# packages=['pytest_plugin'],
|
||||
# the following makes a plugin available to pytest
|
||||
entry_points={
|
||||
'pytest11': [
|
||||
|
||||
Reference in New Issue
Block a user