diff --git a/.copier-answers.yml b/.copier-answers.yml index 07e9dbdc..1f1545a7 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v1.4.3 +_commit: v1.4.4 _src_path: gh:lincc-frameworks/python-project-template author_email: lincc-frameworks-team@lists.lsst.org author_name: LINCC Frameworks @@ -13,5 +13,6 @@ package_name: hipscat_import preferred_linter: pylint project_license: BSD project_name: hipscat-import +project_organization: astronomy-commons use_gitlfs: none use_isort: true diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 257190f4..b1a41085 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -30,6 +30,6 @@ jobs: pip install .[dev] if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Analyze code with linter - run: | pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc + pylint -rn -sn --recursive=y ./tests --rcfile=./tests/.pylintrc diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 5367eb63..3147bde9 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,5 +1,5 @@ # This workflow will upload a Python Package using Twine when a release is created -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries +# For more information see: https://github.com/pypa/gh-action-pypi-publish#trusted-publishing # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by @@ -19,7 +19,8 @@ jobs: deploy: runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python @@ -33,7 +34,4 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index 058e151f..ccabd9ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,10 @@ dev = [ "types-PyYAML", # type stubs for pyyaml ] +[metadata] +long_description = { file = "README.md" } +url = "https://github.com/astronomy-commons/hipscat-import" + [build-system] requires = [ "setuptools>=62", # Used to build and package the Python project