summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #144 from kianmeng/fix-typosmasterSeth Morton2021-12-307-12/+12
|\ | | | | Fix typos
| * Fix typosKian-Meng, Ang2021-12-307-12/+12
|/
* Bump version: 8.0.1 → 8.0.28.0.2Seth Morton2021-12-145-4/+8
|
* Merge pull request #143 from ↵Seth Morton2021-12-143-1/+16
|\ | | | | | | | | SethMMorton/path-splitting-does-not-handle-dot-properly Path splitting does not handle dot properly
| * Update changelogSeth Morton2021-12-141-0/+3
| |
| * Add handling for '.' when splitting pathsSeth Morton2021-12-142-1/+13
|/ | | | | | | pathlib.Path(".").parts returns an empty tuple. This is unexpected, and caused a tuple unpacking statement to fail. The solution is to catch the ValueError from tuple unpacking and manually construct the return values.
* Minor changelog editSeth Morton2021-12-131-1/+0
|
* Bump version: 8.0.0 → 8.0.18.0.1Seth Morton2021-12-105-4/+8
|
* Merge pull request #141 from SethMMorton/fix-sorting-in-ce-localeSeth Morton2021-12-107-8/+59
|\ | | | | Fix sorting in ce locale
| * Add new cs_CZ locale into the CI environmentSeth Morton2021-12-102-1/+4
| |
| * BlackSeth Morton2021-12-102-2/+0
| |
| * Update changelogSeth Morton2021-12-091-0/+5
| |
| * Combine unicode normalization for LOCALESeth Morton2021-12-091-5/+26
| | | | | | | | | | For some locales, the unicode cannot be decomposed otherwise the ordering is incorrect.
| * Add tests for the cs_CZ regressionSeth Morton2021-12-092-0/+24
|/ | | | This ensures that going forward this won't not sort correctly.
* Bump version: 7.2.0 → 8.0.08.0.0Seth Morton2021-11-035-4/+8
|
* Prepare to change 7.2.0 into 8.0.0Seth Morton2021-11-032-2/+5
|
* Add note to READMESeth Morton2021-11-021-0/+5
|
* Bump version: 7.1.1 → 7.2.07.2.0Seth Morton2021-11-025-5/+8
|
* Update license yearSeth Morton2021-11-021-1/+1
|
* Add notes about using Python 3.10Seth Morton2021-11-022-0/+2
|
* Add 3.10 to testing infrastructureSeth Morton2021-11-022-2/+3
|
* Remove unsupported testing mechanisms from docsSeth Morton2021-11-021-19/+1
|
* Drop < 3.6 in documentationSeth Morton2021-11-022-4/+1
|
* Update changelogSeth Morton2021-11-021-5/+3
|
* Merge pull request #138 from SethMMorton/type-hintingSeth Morton2021-11-0236-434/+976
|\ | | | | Type hinting
| * Install fastnumbers for mypySeth Morton2021-11-022-1/+2
| | | | | | | | Otherwise it complains that it cannot find the types, understandably.
| * Need to disable zip_safe with py.typedtype-hintingSeth Morton2021-11-011-0/+1
| |
| * Remove fastnumbers type ignore statementSeth Morton2021-11-013-5/+3
| |
| * Actually do overloads correctlySeth Morton2021-10-301-126/+68
| | | | | | | | | | | | Originally I did not realize that it was possible to put the keyword arguments in an overload, so I ended up doing way more overload definitions than needed.
| * Eliminate unneeded cast in __main__.pySeth Morton2021-10-301-3/+3
| |
| * Add py.typedSeth Morton2021-10-302-0/+1
| | | | | | | | This will expose Natsort's types to libraries using it.
| * Run mypy in CISeth Morton2021-10-291-0/+18
| |
| * Static analysis now happens on Python 3.6Seth Morton2021-10-291-2/+2
| | | | | | | | This was missed when 3.5 support was removed.
| * Fix other bugs introduced in the shuffleSeth Morton2021-10-2913-25/+44
| |
| * Simplify typesSeth Morton2021-10-294-37/+33
| | | | | | | | Some over-specified types have been made a bit more general.
| * Expose the NSType in the public APISeth Morton2021-10-282-1/+4
| |
| * Rename some typesSeth Morton2021-10-2815-98/+105
| |
| * Add type annotations to testsSeth Morton2021-10-2820-211/+328
| | | | | | | | | | | | | | | | That was... a lot. There are still errors in the os_sorted tests, but that requires me to rethink some typing decisions in the main code so that will be for a future commit.
| * natsort now passes mypy with --strictSeth Morton2021-10-278-66/+97
| |
| * Remove type annotations from documentationSeth Morton2021-10-271-0/+1
| | | | | | | | | | The annotations were so complex that it made the documentation hard to follow.
| * Expose some internal types to the userSeth Morton2021-10-272-1/+32
| |
| * Fully type hint natsort.pySeth Morton2021-10-271-24/+233
| |
| * Fully typehint utils.pySeth Morton2021-10-271-59/+188
| | | | | | | | | | | | OK - this *might* have gone a bit overboard, but I have always thought it was hard to keep track of what most of the utility functions are returning and this really helps.
| * Add type hints to "minor" filesSeth Morton2021-10-266-41/+79
| | | | | | | | | | | | The compat and __main__ files have had type hints added. The unicode_* files all do not need type hints (because all variables are deducable), same with the ns_enum file.
| * Satisfy mypy for library as-isSeth Morton2021-10-244-6/+18
| | | | | | | | Without adding any annotations, make sure mypy is happy.
| * The ns enum actually now is a python enumSeth Morton2021-10-244-75/+46
| | | | | | | | | | | | | | | | | | I have been wanting to do this for quite some time, but needed the functionality of the IntEnum for backwards-compatibility. Now that Python 3.5 is no longer supported, the IntEnum can be used and the definition of ns is far simpler than it used to be. This plays nice with mypy also, which is the driving change.
| * Remove support for Python 3.5 and 3.4Seth Morton2021-10-244-3/+7
| |
| * Add a mypy env to toxSeth Morton2021-10-241-1/+9
| | | | | | | | This will enable typechecking during testing.
| * Merge pull request #135 from thethiny/masterSeth Morton2021-10-231-1/+6
| |\ |/ / | | Support Type Hinting
| * Support Type Hinting thethiny2021-08-311-1/+6
|/ | | | Added support for type hinting for consistency with `sorted` from builtints. This allows Iterables of Custom Objects to be typed.