forked from iconfinder/pyvat
-
Notifications
You must be signed in to change notification settings - Fork 0
Enhancement/11 move vat rates #12
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 35 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
3d1e48d
remove egypt from eu countries list
mostafa-hisham f45ef1d
add new countries registries
mostafa-hisham 8b3adc7
init new registries and Skip vat_num format validation for countries …
mostafa-hisham 9696462
add vat_rules for new countries
mostafa-hisham 1cb9f87
add test for new countries
mostafa-hisham 0dcd614
refactor old tests to work with our edits
mostafa-hisham 12ad19a
update readme
mostafa-hisham ca9ce85
add tests ci
mostafa-hisham d631d34
workflow on forks
mostafa-hisham 7df0c08
fix workflow branch
mostafa-hisham c9d6052
chnage class name
mostafa-hisham 106b503
Norway B2B not exempt
mostafa-hisham 900a182
treat monaco and france regions like france but with different vat rates
mostafa-hisham 662a6a7
rename classses
mostafa-hisham 95f3550
add regex to Frech countries
mostafa-hisham acb0fdb
create and use global FRANCE_COUNTRY_CODES
mostafa-hisham aa85a94
create and use NON_EU_COUNTRY_CODES
mostafa-hisham 81e7ba7
add new test that checks VAT% for noneu countries
mostafa-hisham 2cd45ca
fix date condition
mostafa-hisham 3718f20
simplfiy conditon
mostafa-hisham 370809d
codition explaination
mostafa-hisham 35f537e
Update pyvat/vat_rules.py
mostafa-hisham 2ce4ef7
rename class
mostafa-hisham 26c8bd5
fix codition
mostafa-hisham 1cdf199
update readme
mostafa-hisham 9d2431b
remove line
mostafa-hisham 4601aa6
fix imports, workflow and typo
mostafa-hisham 6f53399
fix confilect
mostafa-hisham 084ced6
Franc monaco and dom
mostafa-hisham 4035704
Fix test
mostafa-hisham 6aadd1a
create doc with vat rates for frnace as seller of digital goods
mostafa-hisham edcc349
Rename FRANCE_VAT_RATES_DIGITAL_GOODS.md to docs/FRANCE_VAT_RATES_DIG…
nicomollet bae70a3
handle Great Britain
mostafa-hisham 528f133
Merge branch 'enhancement/11-move-vat-rates' of github.com:wp-media/p…
mostafa-hisham 5373fd5
EG 14 b2b/b2c and add FR test
mostafa-hisham 682258f
Update tests/test_new_countries.py
mostafa-hisham 7013fda
Update tests/test_new_countries.py
mostafa-hisham 5f7f3bd
Update tests/test_validators.py
mostafa-hisham 3fb7220
Update README.rst
mostafa-hisham bf3947a
Update tests/test_new_countries.py
mostafa-hisham eef3a89
EG b2b 0 vat rate
mostafa-hisham 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 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,42 @@ | ||
| name: Run Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| python-version: ['3.10'] | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
|
||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -e . | ||
| pip install pytest | ||
|
|
||
| - name: Run tests | ||
| run: | | ||
| python -m pytest tests/ -v | ||
|
|
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
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.