Timo Furrer
ca076ff625
Refactor pipenv usage according to semi-official best practices. Closes #142
2018-04-04 20:42:13 +02:00
Jan Vlčinský
e0e33cc29f
Remove probably obsolete requirement for ruamel.yaml ( #136 )
...
* Remove probably obsolete requirement for ruamel.yaml
Closes issue #134
* require dateparser>=0.7.0 (to ensure ruamel.yaml is not really needed)
2018-04-04 13:37:31 +02:00
Timo Furrer
bd34915f96
Merge pull request #135 from vlcinsky/frozen_time
...
test with "now" frozen to different times/zones
2018-04-03 20:08:57 +02:00
Jan Vlcinsky
16690cfceb
Removed Pipfile.lock
2018-04-03 19:57:58 +02:00
Jan Vlcinsky
97af369f05
Pipfile.lock updated with --dev (freezegun)
2018-04-03 19:54:18 +02:00
Jan Vlcinsky
367dac4e62
number of frozen_now variants narrowed to speed up tests
2018-04-03 19:54:18 +02:00
Jan Vlcinsky
59ec275ef6
test with "now" frozen to different times/zones
...
Using freezegun to freeze current times.
2018-04-03 19:54:18 +02:00
Timo Furrer
76f99bc781
Merge pull request #141 from vlcinsky/simple_pytest
...
Simplified call to pytest in tox.ini (issue #139 )
2018-04-03 16:40:26 +02:00
Timo Furrer
bf56321545
Merge branch 'master' into simple_pytest
2018-04-03 16:35:23 +02:00
Timo Furrer
ee602ea56b
Merge pull request #140 from vlcinsky/tox_ini
...
Get rid of Pipfile.lock (issue #138 )
2018-04-03 16:34:35 +02:00
Jan Vlcinsky
df3bdf231d
Simplified call to pytest in tox.ini (issue #139 )
2018-04-02 22:50:14 +02:00
Jan Vlcinsky
1a58d4f710
Get rid of Pipfile.lock (issue #138 )
2018-04-02 22:43:28 +02:00
Timo Furrer
d0d5a8f75d
Explicitly specifiy time struct when getting UTC offset for current time
2018-04-02 12:09:31 +02:00
Timo Furrer
00a0ceb3c8
Add tox.ini for local testing. Refs #137
2018-04-01 14:09:02 +02:00
Timo Furrer
ee0fe3b810
Merge pull request #131 from vlcinsky/master
...
test_maya.py refactored: using parametrization where feasible
2018-03-31 11:50:32 +02:00
Timo Furrer
0e0815c45a
Merge pull request #132 from kennethreitz/feature/python-3.7
...
Add Python 3.7 to test matrix
2018-03-31 11:49:07 +02:00
Timo Furrer
04a82f3078
Add Python 3.7 to test matrix
2018-03-31 11:46:05 +02:00
Timo Furrer
5f6b5fc66d
Use UTC offset from given time struct when converting from time struct. Fixes #104
2018-03-31 11:42:07 +02:00
Jan Vlcinsky
e9592a3146
test_maya.py refactored: using parametrization where feasible
...
repeated code replaced by parameters provided by pytest.
source string and rexpected intentionally indented to match by column
to make checking year, month and date simpler.
Note, that the test_issue_104 was (and still is) failing.
2018-03-31 01:31:14 +02:00
Timo Furrer
15a5c9eedb
Merge pull request #130 from bsdtux/master
...
PR for issue #129 . Attempt to secure _EPOCH_START
2018-03-30 11:19:14 +02:00
Josh Stephens
7c5d5871d3
* moved _EPOCH_START to be a class variable to protect from a user
...
makeing an arbitrary change which could render inaccurate results from MayaDT class
2018-03-25 16:06:38 -05:00
kennethreitz
b411d5e6d1
Merge pull request #127 from matmunn/duration
...
Parsing an ISO8601 duration for an interval
2018-03-21 06:30:04 -04:00
Mat Munn
5458b0bf15
Parsing an ISO8601 duration for an interval
2018-03-21 11:23:22 +11:00
Timo Furrer
02f91de523
Merge pull request #124 from matmunn/master
...
Basic implementation of ISO 8601 parsing for MayaInterval
2018-03-18 12:30:41 +01:00
Mat Munn
00d174c9e2
Merge branch 'master' into master
2018-03-18 08:04:51 +11:00
Mat Munn
f87f705a53
Added test
2018-03-18 08:03:34 +11:00
Timo Furrer
9a850b4212
PEP8 formatting by white
...
Used `white maya/ tests/`.
2018-03-17 12:24:18 +01:00
Timo Furrer
84a5f700c3
Merge pull request #126 from timofurrer/feature/snap
...
Implement snap modifiers with maya.snap(). Closes #94
2018-03-17 11:59:45 +01:00
Timo Furrer
13e9f2d896
Implement snap modifiers with maya.snap(). Closes #94
2018-03-17 11:55:18 +01:00
Timo Furrer
0c206ad0db
Fix tests
2018-03-17 11:52:47 +01:00
Timo Furrer
aa87723a0c
Make tests and docs a phony makefile target
2018-03-14 20:17:35 +01:00
Mat Munn
d51a6a57ec
Basic implementation of ISO 8601 parsing for MayaInterval
2018-03-14 10:13:50 +11:00
kennethreitz
3cb65f227c
setup.py update
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-02-26 17:57:57 -05:00
kennethreitz
0108ebe07e
0.3.4
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
v0.3.4
2018-02-26 17:31:33 -05:00
kennethreitz
a7d89be3c7
Merge pull request #118 from tbarron/mayadt_subtraction
...
Mayadt subtraction
2018-02-26 17:30:34 -05:00
kennethreitz
99ffb773bb
Merge branch 'master' into mayadt_subtraction
2018-02-26 17:29:34 -05:00
kennethreitz
b3293f898e
Merge pull request #119 from tbarron/issue_104
...
Issue 104
2018-02-26 17:29:07 -05:00
kennethreitz
2d8015a13b
Merge pull request #120 from radek-sprta/patch-1
...
Add date property to MayaDT
2018-02-26 17:28:08 -05:00
radek-sprta
9066ee862d
Add date property to MayaDT
2018-02-03 12:37:25 +01:00
Tom Barron
5f362a8968
Adding myself to the AUTHORS file
2018-01-29 18:20:41 -05:00
Tom Barron
565fdd6a9e
Add myself to AUTHORS file
2018-01-29 18:18:52 -05:00
Tom Barron
24063b5e1b
New test and code to address issue 104
2018-01-29 18:10:36 -05:00
Tom Barron
b57f4a6775
Proposed update to support MayaDT - MayaDT -> datetime.timedelta
2018-01-29 13:37:31 -05:00
kennethreitz
91e7f499e2
Merge pull request #111 from zed/patch-1
...
there is no os.dirname only os.path.dirname
2017-12-18 17:28:29 -05:00
kennethreitz
be3a349b16
Merge pull request #113 from timofurrer/bugfix/open-encoding
...
Use codecs.open when relying on encoding
2017-12-18 17:28:20 -05:00
Timo Furrer
f69a93b110
Use codecs.open when relying on encoding. Fixes #112
2017-12-18 18:59:58 +01:00
zed
86586e733c
there is no os.dirname only os.path.dirname
2017-12-08 15:35:30 +03:00
kennethreitz
cd7b5b4aae
Merge pull request #109 from alysivji/add_pendulum_tz
...
Add timezone option for parse()
2017-12-03 13:47:31 -06:00
kennethreitz
b70884a1ec
Merge pull request #110 from zolrath/fix-prefer-past-test
...
Fix prefer_past test in December
2017-12-03 06:34:50 -06:00
Matt Furden
773cdecab5
Fix prefer_past test at end of year
2017-12-03 00:47:12 -08:00