Skip to content
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

Simplify Chinese New Year shift #718

Closed
wants to merge 511 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
511 commits
Select commit Hold shift + click to select a range
216c433
Revert "Remove use of setup_requires. Builders now require pip 10 or …
jaraco Dec 11, 2018
32b254d
Indicate build backend of setuptools
jaraco Dec 12, 2018
a8bca16
Add support for cutting releases without DPL and using pep517.
jaraco Dec 12, 2018
bc8a6cd
spaces, style and formatters (#4)
skriems Dec 14, 2018
939c515
Rely on pep517 0.5
jaraco Dec 17, 2018
192dafa
Add documentation on the skeleton. Fixes #5.
jaraco Dec 20, 2018
5b4c250
Add workaround for DeprecationWarning in flake8
jaraco Dec 27, 2018
8ac0f87
Use consistent encoding quoting in pyproject.toml
jaraco Dec 29, 2018
4310c97
Clarify purpose of local/upstream extras
jaraco Dec 29, 2018
a6bbc34
Merge with workalendar v2.6.0
jaraco Jan 5, 2019
6067a22
Move modules
jaraco Jan 5, 2019
39e66d2
Merge workalendar/3.2.1
jaraco Jan 5, 2019
109d74d
Merge https://github.com/jaraco/skeleton
jaraco Jan 5, 2019
b84ce5b
Feed the hobgoblins (delint).
jaraco Jan 5, 2019
6f91112
Fix failing doctests
jaraco Jan 5, 2019
12eed13
Suppress E117 as workaround for PyCQA/pycodestyle#836
jaraco Feb 6, 2019
8186f76
Amend skeleton documentation to expand on the value of the approach.
jaraco Feb 6, 2019
cdff6c8
Remove sudo declaration in Travis config.
jaraco Mar 22, 2019
bb4c609
Enable tox-pip-extensions ext_venv_update if available. Fixes jaraco/…
jaraco Apr 17, 2019
5bd3e60
Rely on tox 3.2 and pip 10 or later for all builds
jaraco Apr 24, 2019
51f1389
It adds no value to add a pip requirement for the tox install
jaraco Apr 24, 2019
123b0b2
Pin to pip 19.0 for now for pypa/pip#6434.
jaraco Apr 24, 2019
4186b77
Revert "Pin to pip 19.0 for now for pypa/pip#6434."
jaraco May 9, 2019
2fe1c20
Merge branch 'master' into feature/black
jaraco May 15, 2019
4399038
Only install and invoke pytest-black on Python 3
jaraco May 15, 2019
d4c65e6
Use pytest-black-multipy to enable simple support for pytest-black wh…
jaraco May 16, 2019
79733f0
Update skeleton documentation to reflect black adoption.
jaraco May 16, 2019
2ab127d
Rely on twine 1.13 or later
jaraco May 23, 2019
f36c7da
Update docs to redirect to Workalendar's new markdown changelog
jaraco Jun 30, 2019
9b6fc30
👹 Feed the hobgoblins (delint).
jaraco Jun 30, 2019
054ea7d
Upgrade tox and virtualenv to ensure that environments get recent pips
jaraco Jun 30, 2019
faa8268
Merge tag '5.2.2' into srh_sync_workalendar_5_2_2
Jul 10, 2019
64e22db
Get pytest running.
Jul 11, 2019
08818e4
Use same spelling as upstream (even though it is inconsistent).
Jul 11, 2019
9ade35a
Linter issues--;
Jul 11, 2019
ca90ebb
Adapt tests to reflect separation of observed dates.
Jul 11, 2019
3b9092f
Correctly specify test dependencies.
Jul 11, 2019
9bb4767
Run setup.py's content just as it was originally done.
Jul 11, 2019
272e1de
Try adding pyluach as a dependency in tox.ini to see if it fixes Travis.
Jul 11, 2019
ca69c2f
Eliminate a cosmetic change I introduced.
Jul 11, 2019
ddcf6cc
Restore change entry dropped in error.
Jul 11, 2019
685f253
Start to address feedback comments.
Aug 12, 2019
690dcf0
Remove unused function as per feedback.
Aug 12, 2019
524cd0c
Remove duplicate 'dist' declaration
jaraco Aug 12, 2019
20964ed
Define passenv in tox release section. Rely on __token__ for default …
jaraco Aug 22, 2019
4baec89
Update docs to reflect changes to deployment.
jaraco Aug 22, 2019
05a3c52
Python 3 only
jaraco Sep 11, 2019
a28efc5
Enable coverage reporting on project
jaraco Sep 15, 2019
cc1a1c9
Report the lines missing coverage
jaraco Sep 22, 2019
9314eb4
Ensure that a late version of pip is installed without special versio…
jaraco Sep 30, 2019
1cfcc42
Disable tox-pip-version as it interacts badly with tox-venv causing t…
jaraco Oct 20, 2019
c169e5e
Bring back tox-pip-version now that pglass/tox-pip-version#20 is fixed.
jaraco Oct 25, 2019
bd4b0a9
Prefer 'relativedelta' for computing relative dates. Restore 'observa…
jaraco Oct 27, 2019
dae5cbb
Update New Zealand to use relativedelta and Holiday features.
jaraco Oct 27, 2019
315f940
Move pyluach into a simple dependency.
jaraco Oct 27, 2019
b97f2ec
Merge pull request #9 from ShaheedHaque/srh_sync_workalendar_5_2_2
jaraco Oct 27, 2019
eb024b4
Merge https://github.com/jaraco/skeleton
jaraco Oct 27, 2019
044e2b3
Disable black as it will drastically impede merging with upstream.
jaraco Oct 27, 2019
5ac2ef9
Use semver numbers and tags.
jaraco Oct 27, 2019
34ecf58
Test/release on Python 3.8
jaraco Oct 27, 2019
eaeb9ec
Apply black to docs/conf.py
jaraco Oct 27, 2019
174f0fd
Update black version and links
jaraco Oct 27, 2019
03d825d
Expect flake8 3.6 or later and remove suppression of warnings from Fl…
jaraco Oct 31, 2019
48d361a
Rely on pytest-checkdocs 1.2.3, eliminating workaround for docutils w…
jaraco Oct 31, 2019
f10294a
Remove workaround for gitlab.com/pycqa/flake8/issues/275, apparently …
jaraco Nov 1, 2019
8e7c267
Normalize indentation
jaraco Nov 3, 2019
a065197
Include keyring support from twine
jaraco Nov 7, 2019
ca4b2f3
Merge tag '7.0.0', but tox not yet running.
Nov 8, 2019
a6da513
Replace ephem with skyfield and skyfield-data.
Nov 8, 2019
87cf8e8
Fix import.
Nov 8, 2019
af1dfac
Unbreak core.py doctests.
Nov 8, 2019
1674605
Just one major bump is sufficient; tracking workalendar versions lead…
jaraco Nov 8, 2019
671a4b2
Merge pull request #10 from ShaheedHaque/srh_sync_workalendar_7_0_0
jaraco Nov 8, 2019
a22d247
Merge https://github.com/jaraco/skeleton
jaraco Nov 8, 2019
574746e
Add __add__ and __sub__ to Holiday instances to improve compatibility…
jaraco Nov 8, 2019
c665e8c
Update changelog. Ref #11.
jaraco Nov 8, 2019
3b5db26
Merge pull request #12 from jaraco/feature/holiday-adder
jaraco Nov 8, 2019
0f901be
Convert Mexico to use holidays.
jaraco Nov 8, 2019
751651a
Merge pull request #13 from jaraco/feature/mexico-holidays
jaraco Nov 8, 2019
45d68bc
Suppress warnings. Ref skyfielders/python-skyfield#286
jaraco Nov 9, 2019
c64fc03
Fix spurious warnings in scotland
jaraco Nov 9, 2019
40e4ec3
Remove skip on Python 2, apparently not an issue.
jaraco Nov 9, 2019
307efea
Rely on pytest to trap the warning. Elegance begets simplicity.
jaraco Nov 9, 2019
eebc61f
Remove skip on Python 2, apparently not an issue.
jaraco Nov 9, 2019
757b121
Rename 'build-docs' to simply 'docs' (matching more popular convention).
jaraco Nov 29, 2019
9ef4b6e
Prefer 'path' to 'path.py'
jaraco Dec 1, 2019
83c3e1a
Merge branch 'feature/py3-only'
jaraco Dec 8, 2019
266a9c1
Cover Python 3.8 in Windows tests
jaraco Dec 8, 2019
76786bd
Update black in pre-commit and add blacken-docs.
jaraco Dec 21, 2019
051ce14
Test and release using Azure Pipelines
jaraco Jan 4, 2020
b07b273
Correct guidance on project creation.
jaraco Jan 11, 2020
0bf3d43
Rely on setuptools_scm 3.4 and setuptools 42. Now setup.py is optiona…
jaraco Jan 18, 2020
d9934dc
Spelling and capitalisation (#8)
hugovk Jan 18, 2020
7558cfe
Line wrap LICENSE file
johnthagen Jan 14, 2020
479ac21
Finish dropping support for Python 2 (I hope).
jaraco Jan 19, 2020
5612130
Merge https://github.com/jaraco/skeleton
jaraco Jan 19, 2020
7ea8d68
Remove warning filter now that issue is fixed.
jaraco Jan 19, 2020
4ec5aac
Merge with workalendar 8.0
jaraco Jan 20, 2020
d0be2c8
Remove explicit super() references
jaraco Jan 20, 2020
29c4972
Require toml extra for setuptools_scm (#12)
layday Jan 23, 2020
9a7d846
Fix AppVeyor typo
hugovk Jan 18, 2020
ef28dcd
Merge https://github.com/jaraco/skeleton
jaraco Jan 23, 2020
814b7f7
Update changelog.
jaraco Jan 23, 2020
0aa6c5c
Link badge to PyPI rather than static image
hugovk Jan 23, 2020
0b681b0
setup.cfg: let python-tag mirror python_requires
vfazio Feb 4, 2020
eb00cd0
Normalize whitespace
jaraco Feb 9, 2020
4f84545
Revert "setup.cfg: let python-tag mirror python_requires"
jaraco Feb 17, 2020
f374f66
Rely on importlib.metadata for __version__. Fixes #14.
jaraco Feb 23, 2020
6f45329
Update changelog. Ref #14.
jaraco Feb 23, 2020
2d6f05c
Merge https://github.com/jaraco/skeleton
jaraco Feb 23, 2020
8fbd841
Update to bionic for Travis. Correct comment about IPv6 workaround.
jaraco Feb 28, 2020
b4dd44c
Suppress warnings in pytest-flake8, pytest-black, and pytest-checkdocs.
jaraco Mar 15, 2020
2c2fee0
Prefer pytest-black to pytest-black-multipy
jaraco Mar 27, 2020
045e6ad
Test against Windows and Mac
jaraco Apr 5, 2020
7a0d596
Merge azure-pipelines with support for running tests on macOS and Win…
jaraco Apr 5, 2020
bb96dc3
Define a default pool_vm_image
jaraco Apr 25, 2020
f66d878
Remove tox-venv and tox-pip-version. Tox-venv is discouraged (https:/…
jaraco Apr 27, 2020
0df8947
Remove more references to tox-venv
jaraco May 2, 2020
649bc79
Add workaround for warning emitted when junitxml is used. Ref pytest-…
jaraco May 2, 2020
7455f2f
Include mypy for type checking during tests.
jaraco May 3, 2020
172c52b
Ensure virtualenv is upgraded when installing tox. Fixes jaraco/path#…
jaraco May 22, 2020
c764baf
Run tests on prereleases of Python on Windows. Fixes jaraco/skeleton#17.
jaraco May 23, 2020
fc0162b
Add workaround for python/mypy#8627. Fixes jaraco/skeleton#18.
jaraco May 23, 2020
814eb66
Add 'refresh.svg' demonstrating an example of refreshing a project wi…
jaraco May 23, 2020
169dad9
Move workaround for python/mypy#8627 to tox.ini, as adding it to setu…
jaraco May 24, 2020
a2fc279
Remove workaround for python/mypy#8627. Ref jaraco/skeleton#18.
jaraco Jul 26, 2020
e630a0c
Create Github releases when releasing the package. Fixes jaraco/skele…
jaraco Aug 30, 2020
8032e1d
Moved refresh.svg to another branch. Reference the animation from the…
jaraco Aug 30, 2020
6a13942
Add the env var mapping too.
jaraco Sep 2, 2020
15f6272
Disable pytest-black and pytest-mypy on PyPy. Fixes jaraco/skeleton#2…
jaraco Sep 4, 2020
3820754
Bump black and blacken-docs to latest stable versions.
jaraco Sep 8, 2020
8117892
Use enabled plugin configuration to enable mypy and black when the pl…
jaraco Sep 12, 2020
678e1a9
Also enable flake8 and cov when the plugins are present.
jaraco Sep 12, 2020
ea912cf
Add workflows for running tests. Ref jaraco/skeleton#24.
jaraco Oct 10, 2020
ce34be2
Cut releases from Github Actions instead of Azure Pipelines. Ref jara…
jaraco Oct 10, 2020
dcd7cbd
Refresh docs to prefer Github Actions to Azure Pipelines. Ref jaraco/…
jaraco Oct 11, 2020
5474714
Use RTD v2 config
jaraco Oct 18, 2020
6ad08b8
Test on Python 3.9. Skip 3.7 to avoid creating too many builds. Relea…
jaraco Oct 22, 2020
ca9ad41
Drop tests on Travis, Appveyor, and Azure Pipelines.
jaraco Oct 22, 2020
1311cec
use add-github-secrets, which infers the secrets needed from the gith…
jaraco Oct 23, 2020
95ce6f3
Use inline flags with local scope.
jaraco Oct 29, 2020
8323365
Merge https://github.com/jaraco/skeleton
jaraco Nov 14, 2020
27f7c53
Honor TOX_WORK_DIR if set. Workaround for tox-dev/tox#20.
jaraco Nov 20, 2020
c681f67
Collapse skeleton history from archive/2020-12
jaraco Dec 8, 2020
a81fb90
Merge remote-tracking branch 'origin/archive/2020-12' into 2020-handoff
jaraco Dec 13, 2020
2667241
Update skeleton description to describe the periodic collapse. Fixes …
jaraco Dec 13, 2020
150321c
Enable automerge
jaraco Dec 13, 2020
a11446d
Merge branch 'main' into 2020-handoff
jaraco Dec 13, 2020
4b13346
Automatically inject project name in docs heading.
jaraco Dec 29, 2020
38a5b1d
Merge tag '9.0.0' into srh_sync_workalendar_14_1_0. NOTE: two tests f…
ShaheedHaque Dec 22, 2020
4c98351
Merge tag '10.0.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
b006e39
Merge tag '11.0.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
07e9743
Merge tag '12.0.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
824ecbc
Merge tag '13.0.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
25113a0
Merge tag '14.0.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
16174d5
Merge tag '14.1.0' into srh_sync_workalendar_14_1_0
ShaheedHaque Dec 29, 2020
cfe99a5
pre-commit autoupdate
jaraco Dec 30, 2020
060d491
Rename 'Automated Tests' to simply 'tests'
jaraco Dec 30, 2020
2b839ba
Add note about automatic merging of PRs and the requirements and limi…
jaraco Dec 30, 2020
a36768a
Prefer pytest-enabler to jaraco.test
jaraco Dec 31, 2020
b5da3df
Remove unwanted workflow.
ShaheedHaque Jan 1, 2021
efed35d
Keep Calendra versioning distinct from Workalendar versioning.
ShaheedHaque Jan 1, 2021
39dec9e
Switch to markdown for readme
jaraco Jan 1, 2021
2af71a1
Bump to pytest-checkdocs 2.2 to avoid failures on markdown.
jaraco Jan 1, 2021
fa03ff0
Merge pull request #18 from jaraco/feature/markdown-readme
jaraco Jan 1, 2021
8f54646
Merge branch 'master' into srh_sync_workalendar_14_1_0
jaraco Jan 1, 2021
4ca824b
Remove more RST files; defer to workalendar docs.
jaraco Jan 1, 2021
fb20e97
Mark failing test as expected to fail.
jaraco Jan 2, 2021
4dda30a
Restore changelog for 6.1 line
jaraco Jan 2, 2021
cfc5db9
Merge branch '2020-handoff' of https://github.com/jaraco/skeleton int…
jaraco Jan 2, 2021
4c41cad
Merge pull request #16 from ShaheedHaque/srh_sync_workalendar_14_1_0
jaraco Jan 4, 2021
4d87764
Restore markdown docs removed in 8f54646168a6e8e665557b93a20661d0ec7e…
jaraco Jan 4, 2021
3e876d7
Enable complexity limit. Fixes jaraco/skeleton#34.
jaraco Jan 9, 2021
1731fbe
Replace pep517.build with build (#37)
webknjaz Jan 9, 2021
a9b3f68
Use license_files instead of license_file in meta (#35)
webknjaz Jan 9, 2021
77fbe1d
Use `extend-ignore` in flake8 config (#33)
webknjaz Jan 9, 2021
0df4081
Add support for namespace packages. Closes jaraco/skeleton#40.
jaraco Jan 16, 2021
2afe018
Document the "series" holiday feature (also correct some indentation).
ShaheedHaque Jan 18, 2021
27b08d1
Merge pull request #20 from ShaheedHaque/srh_document_series_holidays
ShaheedHaque Jan 18, 2021
51298a2
Normalize indentation
jaraco Feb 10, 2021
743af72
Exclude dist from discovered packages. Fixes jaraco/skeleton#46.
jaraco Feb 21, 2021
38fff62
Added an .editorconfig. Pull request jaraco/skeleton#43.
KOLANICH Feb 6, 2021
5e41679
It's no longer necessary to filter this warning and it's not a warnin…
jaraco Feb 22, 2021
d9a13c7
Bump minimum pytest
jaraco Feb 22, 2021
bf9fae2
Require twine 3 with keyring unconditionally required.
jaraco Mar 6, 2021
7bdab57
Add comments indicating why the exclusions are present
jaraco Mar 7, 2021
14312a5
Exclude mypy on Python 3.10 as workaround for python/typed_ast#156.
jaraco Mar 7, 2021
af54451
Bump minimums on pytest-checkdocs and pytest-enabler as found on Setu…
jaraco Mar 7, 2021
86efb88
Also deny black on Python 3.10 as workaround for python/typed_ast#156.
jaraco Mar 7, 2021
7fe4ab8
Add leading */ to coverage.run.omit. Workaround for pytest-dev/pytest…
jaraco Mar 15, 2021
6e2d0ba
Remove automerge. Fixes jaraco/skeleton#49.
jaraco Apr 26, 2021
2f690f6
Enable dependabot (#50)
jaraco Apr 26, 2021
6c1c45b
Replace md file with badge linking to documentation site. Fixes jarac…
jaraco Apr 26, 2021
8698127
Make sphinx fail on any warnings (#36)
webknjaz Apr 26, 2021
4a734d4
Test on Python 3.10
jaraco May 20, 2021
1b16520
Remove setup_requires, obviated by build-requires in pyproject.toml.
jaraco May 26, 2021
85d08db
Suppress deprecation warnings in flake8 and packaging.tags. Ref pypa/…
jaraco Jun 3, 2021
5a8384e
Use shutil for rmtree
bhrutledge Jun 12, 2021
14787e6
Rely on setuptools 56 and drop the explicit mention of the license fi…
jaraco Jul 16, 2021
212e995
Remove workaround for python/typed_ast#156.
jaraco Jul 16, 2021
498b965
Use line continuations to indicate which exclusions are for which wor…
jaraco Jul 16, 2021
719a7ce
Remove blacken docs as it cannot honor Python's default repr. Ref aso…
jaraco Jul 21, 2021
a76a548
.editorconfig: Set max_line_length to 88 for Python files.
darkvertex Jul 26, 2021
8ea55f2
Add intersphinx mappings for Python to prevent spurious nitpicky fail…
jaraco Sep 18, 2021
dc43378
Test on Python 3.10 (final).
jaraco Oct 6, 2021
5823e9c
Rely on pytest 6 and drop workaround for pytest-dev/pytest#6178.
jaraco Oct 7, 2021
aae281a
Remove wheel from build requirements. It's implied for wheel builds. …
jaraco Oct 22, 2021
0019b0a
Require Python 3.7 or later.
jaraco Nov 25, 2021
eca1c4c
Remove filtered warnings, addressed upstream.
jaraco Nov 25, 2021
4f9825d
Update badge year
jaraco Feb 1, 2022
7e01b72
Remove setup.py, no longer needed.
jaraco Feb 1, 2022
8949d1a
Add exclusions for pytest 7 deprecations in plugins. Fixes jaraco/ske…
jaraco Feb 5, 2022
badffe9
Use the parent category PytestDeprecationWarning, which is available …
jaraco Feb 5, 2022
96ea563
Bump pytest-mypy and remove workaround for dbader/pytest-mypy#131.
jaraco Feb 11, 2022
a9ea801
Require jaraco.packaging 9 adding compatibility for projects with no …
jaraco Feb 11, 2022
f22eb5b
Ignore flake8/black warnings with pytest 7.0.1 (jaraco/skeleton#58)
abravalheri Feb 12, 2022
04fe68a
Ran pre-commit autoupdate
jaraco Feb 20, 2022
1a6b828
Inject check job into CI workflow as ultimate flag (#55)
webknjaz Apr 22, 2022
10bf1b1
Add Python 3.11 into the matrix using workaround from actions/setup-p…
jaraco Jun 5, 2022
a4f5b76
Update base URL for PEPs (#61)
hugovk Jun 5, 2022
74f337f
Update Github actions to v3 (#62)
abravalheri Jun 5, 2022
e719f86
exclude build env from cov reporting (#60)
wimglenn Jun 5, 2022
6dcd157
Prefer spaces for rst. Fixes jaraco/skeleton#64.
jaraco Jun 16, 2022
2678a7e
Honor PEP 518 with pytest-enabler.
jaraco Jun 22, 2022
fea1e7c
Ran pre-commit autoupdate
jaraco Jul 11, 2022
325916c
Use '-dev' for every Python version. Ref actions/setup-python#213.
jaraco Jul 29, 2022
424717b
Use Python 3.11 for cutting releases.
jaraco Jul 29, 2022
c64902b
Pin flake8. Workaround for tholo/pytest-flake8#87.
jaraco Jul 30, 2022
abcc156
Update to setup-python v4. Fixes jaraco/skeleton#65.
jaraco Aug 18, 2022
47c2cb3
Also update release to v4
jaraco Aug 19, 2022
e862af0
Merge https://github.com/jaraco/skeleton
jaraco Aug 28, 2022
efccb66
👹 Feed the hobgoblins (delint).
jaraco Aug 28, 2022
9e3ebe4
Move holiday implementation to its own module to simplify merging.
jaraco Sep 2, 2022
d279bb0
Move SeriesShiftMixin to holiday module for easier merging.
jaraco Sep 2, 2022
7958bc8
Reorder classes similar to workalendar for easier merging.
jaraco Sep 2, 2022
39615ce
Restore docstrings and remove LunarCalendar for better alignment with…
jaraco Sep 2, 2022
d535ed0
Merge tag 'workalendar/14.3.0'
jaraco Sep 2, 2022
d1772dc
Update changelog for 7.1
jaraco Sep 2, 2022
9027b2f
Merge tag 'workalendar/15.0.0'
jaraco Sep 2, 2022
623a94e
For ical export, honor observed date even when no weekend days are de…
jaraco Sep 2, 2022
ea14063
Mark China tests as xfail.
jaraco Sep 2, 2022
ff737be
Merge tag 'workalendar/15.4.0'
jaraco Sep 2, 2022
2fec2b3
Merge tag 'workalendar/16.0.0'
jaraco Sep 2, 2022
f52ca5e
Merge tag 'workalendar/16.3.0'
jaraco Sep 2, 2022
fb16c49
In SeriesShiftMixin, simply apply a heuristic that all holidays shoul…
jaraco Sep 3, 2022
25399ce
Merge pull request #24 from jaraco/feature/simple-series
jaraco Sep 3, 2022
d5579f5
Simply set observance shift to None for Netherlands.
jaraco Sep 3, 2022
505d34c
Apply SeriesShiftMixin to all calendars.
jaraco Sep 3, 2022
3d71fc7
Attempting to simplify the holiday shift for Chinese new year. Doesn'…
jaraco Sep 3, 2022
b80cb9e
Honor observance ordering for callable observance shift.
jaraco Sep 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .coveragerc
@@ -0,0 +1,8 @@
[run]
omit =
# leading `*/` for pytest-dev/pytest-cov#456
*/.tox/*
*/pep517-build-env-*

[report]
show_missing = True
19 changes: 19 additions & 0 deletions .editorconfig
@@ -0,0 +1,19 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
end_of_line = lf

[*.py]
indent_style = space
max_line_length = 88

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.rst]
indent_style = space
9 changes: 9 additions & 0 deletions .flake8
@@ -0,0 +1,9 @@
[flake8]
max-line-length = 88

# jaraco/skeleton#34
max-complexity = 10

extend-ignore =
# Black creates whitespace before colon
E203
8 changes: 8 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "all"
86 changes: 0 additions & 86 deletions .github/workflows/ci.yml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,63 @@
name: tests

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
python:
- 3.7
- '3.10'
- '3.11'
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}-dev
- name: Install tox
run: |
python -m pip install tox
- name: Run tests
run: tox

check: # This job does nothing and is only used for the branch protection
if: always()

needs:
- test

runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

release:
needs:
- check
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11-dev"
- name: Install tox
run: |
python -m pip install tox
- name: Release
run: tox -e release
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 0 additions & 13 deletions .gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
6 changes: 6 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,6 @@
version: 2
python:
install:
- path: .
extra_requirements:
- docs