mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-01-22 14:41:40 +00:00
Convert to the more modern and preferred pyproject.toml configuration for the project. - Add the majority of the configuration to pyproject.toml. - Remove setup.cfg as it is no longer needed. - Update tox.ini to remove a lingering testenv for Python 2.7 which is no longer used. NOTE: Manifest.in is left as the files it includes are outside of the package directories.
21 lines
372 B
INI
21 lines
372 B
INI
[tox]
|
|
envlist = py{38,39,310,311,312,313,314}
|
|
skip_missing_interpreters = True
|
|
isolated_build = True
|
|
|
|
[testenv]
|
|
deps =
|
|
flake8
|
|
pytest
|
|
pywin32; sys_platform == 'win32'
|
|
pyobjc-framework-Cocoa; sys_platform == 'darwin'
|
|
commands =
|
|
flake8
|
|
pytest
|
|
|
|
[flake8]
|
|
exclude = .tox,env,build
|
|
max-line-length = 120
|
|
select = C,E,F,W,B,B950
|
|
extend-ignore = E203, E501
|