-
Notifications
You must be signed in to change notification settings - Fork 519
Release camelot-fork 0.20.1 #353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
260357f
Add hypermodern python to the original repo
foarsitter 753ecd5
Add conftest.py and skip tests that depend on poppler
foarsitter f7bcadf
Align the type of PDFHandler.filepath with PdfReader.stream so Path a…
foarsitter ad8cbb0
Pre-commit
foarsitter b912dc5
Initialized Table.df as empty DataFrame
kumkee 8717a01
Fixed: ValueError: min() arg is an empty sequence
dcc78f4
Fix: unwanted data leaks into the last cell
36dce51
added test case for method bbox_no_intersection method
rahul-bhave c24be55
Update test fixtures and remove unused imports
foarsitter 252c59b
Fixed ZeroDivisionError in text_in_bbox
const-FC 3d6c019
camelot-fork 0.20.1
foarsitter 8dba0e7
chore: revert changes to README.md
foarsitter 9af09b5
Remove references from pyproject to the fork
foarsitter 39a4f94
Fix install ghostscript
foarsitter 331f301
Merge upstream master into fork
foarsitter bf168e1
Poetry update
foarsitter 3938222
Removed references to me as person or to the camelot-fork repo
foarsitter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [darglint] | ||
| strictness = long |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| [flake8] | ||
| select = B,B9,C,D,DAR,E,F,N,RST,S,W | ||
| ignore = E203,E501,RST201,RST203,RST301,W503 | ||
| max-line-length = 80 | ||
| max-complexity = 10 | ||
| docstring-convention = google | ||
| per-file-ignores = tests/*:S101 | ||
| rst-roles = class,const,func,meth,mod,ref | ||
| rst-directives = deprecated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * text=auto eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: "/" | ||
| schedule: | ||
| interval: daily | ||
| - package-ecosystem: pip | ||
| directory: "/.github/workflows" | ||
| schedule: | ||
| interval: daily | ||
| - package-ecosystem: pip | ||
| directory: "/docs" | ||
| schedule: | ||
| interval: daily | ||
| - package-ecosystem: pip | ||
| directory: "/" | ||
| schedule: | ||
| interval: daily | ||
| versioning-strategy: lockfile-only | ||
| allow: | ||
| - dependency-type: "all" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| --- | ||
| # Labels names are important as they are used by Release Drafter to decide | ||
| # regarding where to record them in changelog or if to skip them. | ||
| # | ||
| # The repository labels will be automatically configured using this file and | ||
| # the GitHub Action https://github.com/marketplace/actions/github-labeler. | ||
| - name: breaking | ||
| description: Breaking Changes | ||
| color: bfd4f2 | ||
| - name: bug | ||
| description: Something isn't working | ||
| color: d73a4a | ||
| - name: build | ||
| description: Build System and Dependencies | ||
| color: bfdadc | ||
| - name: ci | ||
| description: Continuous Integration | ||
| color: 4a97d6 | ||
| - name: dependencies | ||
| description: Pull requests that update a dependency file | ||
| color: 0366d6 | ||
| - name: documentation | ||
| description: Improvements or additions to documentation | ||
| color: 0075ca | ||
| - name: duplicate | ||
| description: This issue or pull request already exists | ||
| color: cfd3d7 | ||
| - name: enhancement | ||
| description: New feature or request | ||
| color: a2eeef | ||
| - name: github_actions | ||
| description: Pull requests that update Github_actions code | ||
| color: "000000" | ||
| - name: good first issue | ||
| description: Good for newcomers | ||
| color: 7057ff | ||
| - name: help wanted | ||
| description: Extra attention is needed | ||
| color: "008672" | ||
| - name: invalid | ||
| description: This doesn't seem right | ||
| color: e4e669 | ||
| - name: performance | ||
| description: Performance | ||
| color: "016175" | ||
| - name: python | ||
| description: Pull requests that update Python code | ||
| color: 2b67c6 | ||
| - name: question | ||
| description: Further information is requested | ||
| color: d876e3 | ||
| - name: refactoring | ||
| description: Refactoring | ||
| color: ef67c4 | ||
| - name: removal | ||
| description: Removals and Deprecations | ||
| color: 9ae7ea | ||
| - name: style | ||
| description: Style | ||
| color: c120e5 | ||
| - name: testing | ||
| description: Testing | ||
| color: b1fc6f | ||
| - name: wontfix | ||
| description: This will not be worked on | ||
| color: ffffff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| categories: | ||
| - title: ":boom: Breaking Changes" | ||
| label: "breaking" | ||
| - title: ":rocket: Features" | ||
| label: "enhancement" | ||
| - title: ":fire: Removals and Deprecations" | ||
| label: "removal" | ||
| - title: ":beetle: Fixes" | ||
| label: "bug" | ||
| - title: ":racehorse: Performance" | ||
| label: "performance" | ||
| - title: ":rotating_light: Testing" | ||
| label: "testing" | ||
| - title: ":construction_worker: Continuous Integration" | ||
| label: "ci" | ||
| - title: ":books: Documentation" | ||
| label: "documentation" | ||
| - title: ":hammer: Refactoring" | ||
| label: "refactoring" | ||
| - title: ":lipstick: Style" | ||
| label: "style" | ||
| - title: ":package: Dependencies" | ||
| labels: | ||
| - "dependencies" | ||
| - "build" | ||
| template: | | ||
| ## Changes | ||
| $CHANGES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| lockfile<0.13.0,>=0.12.2 | ||
| pip==23.0 | ||
| nox==2022.11.21 | ||
| nox-poetry==1.0.2 | ||
| poetry>=1.2.0 | ||
| virtualenv==20.19.0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Labeler | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - master | ||
|
|
||
| jobs: | ||
| labeler: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out the repository | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Run Labeler | ||
| uses: crazy-max/[email protected] | ||
| with: | ||
| skip-delete: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - master | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out the repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 2 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v3 | ||
| with: | ||
| python-version: "3.10" | ||
|
|
||
| - name: Upgrade pip | ||
| run: | | ||
| pip install --constraint=.github/workflows/constraints.txt pip | ||
| pip --version | ||
|
|
||
| - name: Install Poetry | ||
| run: | | ||
| pip install --constraint=.github/workflows/constraints.txt poetry | ||
| poetry --version | ||
|
|
||
| - name: Check if there is a parent commit | ||
| id: check-parent-commit | ||
| run: | | ||
| echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)" | ||
|
|
||
| - name: Detect and tag new version | ||
| id: check-version | ||
| if: steps.check-parent-commit.outputs.sha | ||
| uses: salsify/[email protected] | ||
| with: | ||
| version-command: | | ||
| bash -o pipefail -c "poetry version | awk '{ print \$2 }'" | ||
|
|
||
| - name: Bump version for developmental release | ||
| if: "! steps.check-version.outputs.tag" | ||
| run: | | ||
| poetry version patch && | ||
| version=$(poetry version | awk '{ print $2 }') && | ||
| poetry version $version.dev.$(date +%s) | ||
|
|
||
| - name: Build package | ||
| run: | | ||
| poetry build --ansi | ||
|
|
||
| - name: Publish package on PyPI | ||
| if: steps.check-version.outputs.tag | ||
| uses: pypa/[email protected] | ||
| with: | ||
| user: __token__ | ||
| password: ${{ secrets.PYPI_TOKEN }} | ||
foarsitter marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - name: Publish package on TestPyPI | ||
| if: "! steps.check-version.outputs.tag" | ||
| uses: pypa/[email protected] | ||
| with: | ||
| user: __token__ | ||
| password: ${{ secrets.TEST_PYPI_TOKEN }} | ||
| repository_url: https://test.pypi.org/legacy/ | ||
|
|
||
| - name: Publish the release notes | ||
| uses: release-drafter/[email protected] | ||
| with: | ||
| publish: ${{ steps.check-version.outputs.tag != '' }} | ||
| tag: ${{ steps.check-version.outputs.tag }} | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.