summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #220 from jelmer/pyprojectmasterRob Dennis2023-01-171-0/+3
|\ | | | | Add a pyproject.toml file ahead of upcoming pip changes
| * Add pyproject.toml.Jelmer Vernooij2022-11-191-0/+3
| |
* | Merge pull request #215 from kianmeng/fix-typosRob Dennis2023-01-174-7/+7
|\ \ | | | | | | Fix typos
| * | Fix typosKian-Meng Ang2022-02-065-10/+10
| |/
* | Merge pull request #217 from timgates42/bugfix_typosRob Dennis2023-01-172-3/+3
|\ \ | |/ |/| docs: Fix a few typos
| * docs: Fix a few typosTim Gates2022-07-042-3/+3
|/ | | | | | | | | | There are small typos in: - docs/configobj.rst - src/configobj/__init__.py Fixes: - Should read `occurred` rather than `occured`. - Should read `likelihood` rather than `likelyhood`.
* Correct typos in validate.pyFelix Yan2020-10-151-2/+2
|
* Fix simple typo: overidden -> overridden (#195)Tim Gates2019-12-071-1/+1
| | | Closes #194
* Fix tests (#183)Aliaksei Urbanski2019-06-111-3/+3
| | | | | | The main goal of this commit is to fix the test_encoding_from_filelike test for Python 3.6+. As well, it fixes a couple of warnings.
* configobj.rst: Markup fix (#182)Iblis Lin2019-05-071-1/+1
| | | Use code block instead of accidental block quote
* Fix grammatical error in documentation (close #170) (#175)Shagun Sodhani2018-12-022-5/+4
| | | | | | * fixed #170 * fixed some typos
* Use tuple for startswith when parsing commentsMartin Packman2018-12-021-6/+7
| | | | Saves a generator comprehension and any() call.
* Delete the _a_to_u() helper methodMartin Packman2018-12-021-15/+7
| | | | | | | Well meaning attempt at encoding correctness, but does literal nothing. On Python 3, ascii values are already decoded, on Python 2 ascii will get safely coerced to unicode.
* Remove fallback for bool() not existingMartin Packman2018-10-131-11/+0
| | | | | Project only supports Pythons new enough to have the bool() builtin these days.
* Simplify automated py3 changes for dict iterationMartin Packman2018-10-131-7/+7
| | | | | | No functionality change, just simplifies some expressions from automated Python 3 compatibility changes, where creating extra lists and similar is not actually needed.
* Allow other path-like objects as configspecHugo Osvaldo Barrera2018-10-131-2/+6
|
* Fix DeprecationWarning in pytestHugo2018-10-131-1/+1
|
* Fix DeprecationWarning in Python 3.7Hugo2018-10-131-5/+11
|
* Add support for Python 3.7Hugo2018-10-136-3/+11
|
* Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgradeHugo2018-10-135-23/+23
|
* Drop support for EOL Python 2.6 and 3.3Hugo2018-10-136-9/+16
|
* Remove broken downloads badge (#172)Hugo2018-10-131-1/+0
| | | See https://github.com/badges/shields/issues/716.
* docs: fix get_extra_values example (#166)Hans Chen2018-03-231-2/+2
|
* added .editorconfig (closes #133)KOLANICH2018-02-171-0/+10
|
* docs: run tests only for 2.7 and 3.4jhermann2017-02-281-3/+5
|
* docs: more compact 'supported versions' listjhermann2017-02-281-10/+6
|
* quoting: make helper an actual function, and use repr in exceptionsjhermann2017-02-282-16/+12
|
* Roundtrip configs with triple quotes and newlinesMartin Packman2017-02-282-3/+21
| | | | | | | | | | | Reported long ago as bzr bug lp:710410 but the fix never made it to the 5.x configobj series. It is possible to create a config which configobj cannot read back, due to reversed logic in triple quote handling. Adapted the bzr unit test by bialix and fixed the behaviour.
* Move some dottedQuadToNum doctests to pytestMartin Packman2017-02-282-9/+23
| | | | | | | | | | Currently the dottedQuadToNum doctest can fail on Python 2 depending on sys.maxint of the platform. Really doctests are not suitable for full coverage, so the boundary case and spacing behaviour checking is better in the pytest framework with doctests reserved for showing what the fuction actually does.
* typojhermann2017-02-281-1/+1
|
* update autoenv script from master (closes #126)jhermann2017-02-282-14/+63
|
* more compact testjhermann2017-02-281-21/+9
|
* adding 'mock' to test depsjhermann2017-02-282-0/+2
|
* Always return unicode when encoding is given (closes #18)Martin Packman2017-02-282-2/+26
| | | | | | | | | | As reported in github issue #18 when a file-like object is given and the encoding param is passed configobj fails to decode the data on Python 2. This is a regression from the 4.7 releases. Fix is simply to check first for binary types in _decode() helper as six.string_types includes the bytes str type on Python 2.
* Support python 3.5 and 3.6 (#137)Hugo Osvaldo Barrera2017-02-284-6/+15
| | | | | | | | | | | | * Support + test python 3.5 and 3.6 * Faster Travis builds Support python 3.5 and 3.6, and run tests for those versions. Also run tests for python 2.6, which was missing. * Don't require sudo on travis This basically makes tests start faster, and we're not using sudo anyway.
* Trivial change to documentation. (#120)kierun2016-09-061-0/+5
| | | Added section about correct & easy error reporting from parsing exceptions.
* fix rewriting of CfgObjs with alternate comment markersjhermann2016-08-291-8/+8
|
* test for rewriting with alternate comment markersjhermann2016-08-291-0/+9
|
* shim is just temporary…jhermann2016-08-261-0/+1
|
* v5.1.0 changes so farjhermann2016-08-261-1/+9
|
* make things work with py26's limited format()jhermann2016-08-261-1/+1
|
* refactored changelog into CHANGES.rstjhermann2016-08-263-19/+41
|
* added license to PKG-INFOjhermann2016-08-261-0/+1
|
* 'validate' has its own setup by nowjhermann2016-08-261-1/+1
|
* docs: refactored all 'validate' imports (closes #106)jhermann2016-08-012-7/+7
|
* added 'decoupled' kwparam to merge() (closes #115)jhermann2016-07-272-2/+22
|
* removed dead code (closes #61)jhermann2016-07-271-59/+0
|
* fixed doctests (ref #73)jhermann2016-07-271-6/+8
|
* more detailed multi-error reports (closes #73)jhermann2016-07-272-4/+41
|
* do not quote git-style section titles (closes #74)jhermann2016-07-272-3/+12
|