1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
[tool.poetry]
name = "pybrowsers"
version = "0.6.0"
repository = "https://github.com/roniemartinez/browsers"
description = "Python library for detecting and launching browsers"
authors = ["Ronie Martinez <ronmarti18@gmail.com>"]
license = "MIT"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
packages = [
{ include = "browsers" },
]
[tool.poetry.urls]
"Donate" = "https://github.com/sponsors/roniemartinez"
[tool.poetry.dependencies]
python = "^3.8.1"
pywin32 = { version = ">=303,<307", markers = "sys_platform == 'win32'" }
pyxdg = { version = ">=0.27,<0.29", markers = "sys_platform == 'linux'" }
[tool.poetry.group.dev.dependencies]
autoflake = "^2.3.0"
black = "^24.2.0"
isort = "^5.11.5"
mypy = "^1.4"
pyproject-flake8 = "^6.1.0"
pytest = "^8.0.2"
pytest-clarity = "^1.0.1"
pytest-cov = "^4.1.0"
[tool.isort]
line_length = 120
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = true
include_trailing_comma = true
ensure_newline_before_comments = true
atomic = true
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = """
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/setup.py
"""
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"pkg_resources",
]
ignore_missing_imports = true
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203"]
extend-exclude = """
setup.py,
"""
[tool.pytest.ini_options]
addopts = """\
--cov=browsers \
--cov-report=term-missing \
--cov-report=xml \
--cov-report=html \
-vv \
-x \
-s \
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
|