Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
anayden committed Dec 13, 2023
1 parent cfff9df commit 24eefbf
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 30 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Release
on:
push:
branches:
- main
- master

jobs:
Expand Down Expand Up @@ -34,7 +33,7 @@ jobs:
- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
echo "name=sha::$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_OUTPUT
- name: Detect and tag new version
id: check-version
Expand Down Expand Up @@ -68,7 +67,7 @@ jobs:
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/[email protected]
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.9", os: "ubuntu-latest", session: "docs-build" }
# - { python: "3.10", os: "ubuntu-latest", session: "safety" }
- { python: "3.9", os: "ubuntu-latest", session: "safety" }
# - { python: "3.10", os: "macos-latest", session: "tests" }
# - { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.8", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.7", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.10", os: "ubuntu-latest", session: "safety" }
# - { python: "3.10", os: "ubuntu-latest", session: "tests" }
# - { python: "3.8", os: "ubuntu-latest", session: "tests" }
# - { python: "3.7", os: "ubuntu-latest", session: "tests" }
# - { python: "3.10", os: "windows-latest", session: "tests" }
# - { python: "3.10", os: "macos-latest", session: "tests" }
# - { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
# - { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
# - { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
# - { python: "3.10", os: "windows-latest", session: "tests" }
# - { python: "3.7", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.7", os: "ubuntu-latest", session: "tests" }
# - { python: "3.8", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.8", os: "ubuntu-latest", session: "tests" }

env:
NOXSESSION: ${{ matrix.session }}
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
# "safety",
"safety",
"mypy",
"tests",
# "typeguard",
Expand Down
17 changes: 10 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 9 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ Changelog = "https://github.com/anayden/r2dt-client/releases"
python = "^3.9"
click = ">=8.0.1"
aiohttp = "^3.9.0"
ipython = "^8.18.0"
ipython = "*"
typer = {extras = ["all"], version = "^0.9.0"}
rich = "^13.7.0"
diskcache = "^5.6.3"

[tool.poetry.dev-dependencies]
[tool.poetry.scripts]
r2dt-client = "r2dt_client.__main__:main"

[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
poetry-plugin-export = "^1.6.0"
Pygments = ">=2.10.0"
black = ">=21.10b0"
coverage = {extras = ["toml"], version = ">=6.2"}
Expand All @@ -50,13 +55,6 @@ typeguard = ">=2.13.3"
xdoctest = {extras = ["colors"], version = ">=0.15.10"}
myst-parser = {version = ">=0.16.1"}

[tool.poetry.scripts]
r2dt-client = "r2dt_client.__main__:main"

[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
poetry-plugin-export = "^1.6.0"

[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
Expand All @@ -67,15 +65,15 @@ source = ["r2dt_client", "tests"]

[tool.coverage.report]
show_missing = true
fail_under = 100
fail_under = 90

[tool.isort]
profile = "black"
force_single_line = true
lines_after_imports = 2

[tool.mypy]
strict = true
strict = false
warn_unreachable = true
pretty = true
show_column_numbers = true
Expand Down

0 comments on commit 24eefbf

Please sign in to comment.