mirror of
https://github.com/arsenetar/send2trash.git
synced 2025-08-29 20:29:40 +00:00
- Drop support for Python 2 - Drop support for Python 3.7, 3.8 is new minimum - Update tox to include newer python version and drop old ones - Update GitHub action for python version changes, use standard python setup action - Update GitHub action to use pinned action versions - Update version to 2.0.0-dev
26 lines
428 B
INI
26 lines
428 B
INI
[tox]
|
|
envlist = py{38,39,310,311,312,313}
|
|
skip_missing_interpreters = True
|
|
isolated_build = True
|
|
|
|
[testenv]
|
|
deps =
|
|
flake8
|
|
pytest
|
|
pywin32; sys_platform == 'win32'
|
|
pyobjc-framework-Cocoa; sys_platform == 'darwin'
|
|
commands =
|
|
flake8
|
|
pytest
|
|
|
|
[testenv:py27]
|
|
deps =
|
|
configparser
|
|
{[testenv]deps}
|
|
|
|
[flake8]
|
|
exclude = .tox,env,build
|
|
max-line-length = 120
|
|
select = C,E,F,W,B,B950
|
|
extend-ignore = E203, E501
|