Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install ".[all]"
python -m pip install gt-extras>=0.0.7
- uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
Expand Down
47 changes: 15 additions & 32 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = ["tables"]
license.file = "LICENSE"
authors = [
{ name = "Richard Iannone", email = "[email protected]" },
{ name = "Michael Chow", email = "[email protected]" }
{ name = "Michael Chow", email = "[email protected]" },
]
dynamic = ["version"]
classifiers = [
Expand All @@ -35,7 +35,7 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Scientific/Engineering :: Visualization"
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"commonmark>=0.9.1",
Expand All @@ -44,29 +44,16 @@ dependencies = [
"importlib-metadata",
"typing_extensions>=3.10.0.0",
"Babel>=2.13.1",
"importlib-resources"
"importlib-resources",
]
requires-python = ">=3.9"

[project.optional-dependencies]
all = [
"great_tables[extra]",
"great_tables[dev]",
]

extra = [
"css-inline>=0.14.1",
"selenium>=4.18.1",
"Pillow>=10.2.0",
]
all = ["great_tables[extra]", "great_tables[dev]"]

dev = [
"great_tables[dev-no-pandas]",
"pandas",
"plotnine",
"numpy>=1.22.4",
extra = ["css-inline>=0.14.1", "selenium>=4.18.1", "Pillow>=10.2.0"]

]
dev = ["great_tables[dev-no-pandas]", "pandas", "plotnine", "numpy>=1.22.4"]

dev-no-pandas = [
"ruff==0.8.0",
Expand All @@ -81,7 +68,7 @@ dev-no-pandas = [
"pytest-cov",
"shiny",
"svg.py",
"syrupy"
"syrupy",
]

[project.urls]
Expand All @@ -92,9 +79,7 @@ documentation = "https://posit-dev.github.io/great-tables/"
minversion = "6.0"
addopts = "-ra -q --cov=great_tables -m 'not no_pandas'"
asyncio_mode = "strict"
testpaths = [
"tests"
]
testpaths = ["tests"]

markers = [
"extra: marks tests that require extra dependencies to run",
Expand All @@ -109,15 +94,13 @@ line-length = 100
exclude = ["docs", ".venv", "tests/*"]

ignore = [
"E402", # module level import not at top of file
"E501", # line too long (maximum 100 characters)
"F811", # redefinition of unused name
"E203", # whitespace before ':'
"F841", # local variable 'name' is assigned to but never used
"E702", # multiple statements on one line (semicolon)
"E402", # module level import not at top of file
"E501", # line too long (maximum 100 characters)
"F811", # redefinition of unused name
"E203", # whitespace before ':'
"F841", # local variable 'name' is assigned to but never used
"E702", # multiple statements on one line (semicolon)
]

[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:"
]
exclude_also = ["if TYPE_CHECKING:"]
Loading