Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 20, 2023
1 parent 268ab20 commit 61a7bfb
Show file tree
Hide file tree
Showing 128 changed files with 969 additions and 981 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ on:
workflow_dispatch:
release:
types: [published]
jobs:

jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install python
uses: actions/setup-python@v3
with:
python-version: 3.x

- name: Install requirements packages
run: pip install -r requirements.txt

- name: Build docs
run: mkdocs build --clean
- name: Push back changes

- name: Push back changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "update docs"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Publish

on:
on:
workflow_dispatch:
release:
types: [created]

jobs:
publish:
needs: update-docs
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -18,10 +18,10 @@ jobs:
virtualenvs-create: false
virtualenvs-in-project: false
- name: Publish to pypi
run: |
run: |
poetry config pypi-token.pypi ${{secrets.PYPI_TOKEN}}
poetry --build publish
28 changes: 14 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-versions: ["3.8", "3.9", "3.10", "3.11"]
matrix:
python-versions: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-versions }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}
python-version: ${{ matrix.python-versions }}

- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install requirements
run: |
poetry lock
poetry install

- name: Install requirements
run: |
poetry lock
poetry install
- name: Install poethepoet
run: pip install poethepoet
run: pip install poethepoet

- name: Download resources
run: |
wget https://github.com/sir-kokabi/test/raw/main/resources-0.9.zip
unzip resources-0.9.zip -d resources
run: |
wget https://github.com/sir-kokabi/test/raw/main/resources-0.9.zip
unzip resources-0.9.zip -d resources
- name: Run tests
run: poe test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ cython_debug/

# End of https://mrkandreev.name/snippets/gitignore-generator/#Python,VisualStudioCode

poetry.lock
poetry.lock
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Improve posTagger accuracy.
- Improve DependencyParser accuracy.


## [0.4.0] - 2014-12-16

Expand Down
2 changes: 0 additions & 2 deletions CODING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,3 @@ Check out a more complete example [here]( https://sphinxcontrib-napoleon.readthe
- Follow [pep8](https://peps.python.org/pep-0008/) coding guidline. The [persian version](https://pep8.ir/).

- Config should be defined in [pyproject.toml](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/) whenever possible. This way, all configuration and dependencies can be managed in one place, and the project can be made easier for others to contribute to.


1 change: 0 additions & 1 deletion CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ Thank you for your contribution! 😍


3. **Use new feature branches for every change**: create a new feature branch from the main branch for each new feature or bug fix that you want to contribute. Do not work directly on the main branch or reuse old feature branches.

2 changes: 1 addition & 1 deletion corpora/hamshahri/1996/ham2_960623.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ o يك جامعه مدعي رو به رشد، بر زمينه انتقادي ص
حرف اصلي فيلم ضيافت چيست و چگونه اين حرف پرداخت شده است؟]]>
</TEXT>
</DOC>
</HAMSHAHRI2>
</HAMSHAHRI2>
2 changes: 1 addition & 1 deletion corpora/sentipers/motorola_digital_photo_frame_MF700.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
<Keyword_Index Value="5" />
<Tag_Index Value="0" />
</Index>
</Product>
</Product>
1 change: 0 additions & 1 deletion corpora/treebank/book.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@
<PUNC clitic="empty">
<w clitic="empty" gc="On ; Oe" lc="Oe" lemma=".">.</w></PUNC></S></ROOT>
</PTB>

2 changes: 1 addition & 1 deletion docs/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/highlight_code.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
.highlight .vc { color: #40ffff } /* Name.Variable.Class */
.highlight .vg { color: #40ffff } /* Name.Variable.Global */
.highlight .vi { color: #40ffff } /* Name.Variable.Instance */
.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
Loading

0 comments on commit 61a7bfb

Please sign in to comment.