Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ameily/cincoconfig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.0
Choose a base ref
...
head repository: ameily/cincoconfig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 14 commits
  • 75 files changed
  • 3 contributors

Commits on Sep 8, 2021

  1. Copy the full SHA
    5372f12 View commit details
  2. pylint

    ameily committed Sep 8, 2021
    Copy the full SHA
    44bec1a View commit details

Commits on Sep 12, 2021

  1. add config._set_default_value

    ameily committed Sep 12, 2021
    Copy the full SHA
    eb0a557 View commit details
  2. update changelog

    ameily committed Sep 12, 2021
    Copy the full SHA
    e1ce373 View commit details
  3. fix python 3.9 tests

    ameily committed Sep 12, 2021
    Copy the full SHA
    40c9fa2 View commit details

Commits on Sep 16, 2021

  1. Merge pull request #52 from ameily/issue-51

    Track Default Values
    ameily authored Sep 16, 2021
    Copy the full SHA
    e777610 View commit details

Commits on Apr 22, 2023

  1. Copy the full SHA
    08603e1 View commit details
  2. Black formatting (#56)

    ameily authored Apr 22, 2023
    Copy the full SHA
    0723221 View commit details
  3. fix readthedocs (#57)

    ameily authored Apr 22, 2023
    Copy the full SHA
    4d93825 View commit details

Commits on Apr 23, 2023

  1. add cspell CI job (#58)

    ameily authored Apr 23, 2023
    Copy the full SHA
    7b0f991 View commit details
  2. spell check (#59)

    ameily authored Apr 23, 2023
    Copy the full SHA
    9b3d454 View commit details
  3. bump version

    ameily committed Apr 23, 2023
    Copy the full SHA
    1cfa240 View commit details

Commits on Jul 19, 2023

  1. Bump cryptography from 40.0.1 to 41.0.2 (#62)

    Bumps [cryptography](https://github.com/pyca/cryptography) from 40.0.1 to 41.0.2.
    - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
    - [Commits](pyca/cryptography@40.0.1...41.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: cryptography
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 19, 2023
    Copy the full SHA
    d1e97d6 View commit details

Commits on Aug 6, 2023

  1. Bump cryptography from 41.0.2 to 41.0.3 (#63)

    Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
    - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
    - [Commits](pyca/cryptography@41.0.2...41.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: cryptography
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 6, 2023
    Copy the full SHA
    1499ff8 View commit details
Showing with 4,168 additions and 2,616 deletions.
  1. +22 −2 .cspell.json
  2. +49 −0 .github/workflows/ci.yml
  3. +0 −580 .pylintrc
  4. +4 −3 .readthedocs.yml
  5. +0 −28 .travis.yml
  6. +15 −0 CHANGELOG.md
  7. +44 −0 CONTRIBUTING.md
  8. +0 −4 MANIFEST.in
  9. +1 −0 cincoconfig/VERSION
  10. +25 −6 cincoconfig/__init__.py
  11. +440 −296 cincoconfig/core.py
  12. +70 −62 cincoconfig/encryption.py
  13. +37 −13 cincoconfig/fields/__init__.py
  14. +15 −14 cincoconfig/fields/bool_field.py
  15. +26 −25 cincoconfig/fields/bytes_field.py
  16. +205 −12 cincoconfig/fields/dict_field.py
  17. +36 −23 cincoconfig/fields/file_field.py
  18. +18 −15 cincoconfig/fields/include_field.py
  19. +20 −15 cincoconfig/fields/instance_method_field.py
  20. +65 −46 cincoconfig/fields/list_field.py
  21. +47 −33 cincoconfig/fields/net_field.py
  22. +40 −24 cincoconfig/fields/number_field.py
  23. +93 −81 cincoconfig/fields/secure_field.py
  24. +62 −49 cincoconfig/fields/string_field.py
  25. +10 −9 cincoconfig/fields/url_field.py
  26. +18 −14 cincoconfig/fields/virtual_field.py
  27. +11 −10 cincoconfig/formats/__init__.py
  28. +9 −9 cincoconfig/formats/bson.py
  29. +12 −11 cincoconfig/formats/json.py
  30. +10 −9 cincoconfig/formats/pickle.py
  31. +48 −47 cincoconfig/formats/xml.py
  32. +14 −12 cincoconfig/formats/yaml.py
  33. +64 −55 cincoconfig/stubs.py
  34. +109 −49 cincoconfig/support.py
  35. +5 −3 cincoconfig/version.py
  36. +1 −0 docs/configs.rst
  37. +3 −0 docs/fields.rst
  38. +1 −0 docs/rtd-requirements.txt
  39. +4 −0 docs/support.rst
  40. +1,154 −0 poetry.lock
  41. +2 −0 poetry.toml
  42. +106 −0 pyproject.toml
  43. +0 −13 requirements/requirements-dev.txt
  44. +0 −8 requirements/requirements-features.txt
  45. 0 requirements/requirements.txt
  46. +0 −18 setup.cfg
  47. +0 −49 setup.py
  48. +204 −157 tests/test_config.py
  49. +88 −86 tests/test_encryption.py
  50. +3 −4 tests/test_errors.py
  51. +8 −11 tests/test_fields/test_bool.py
  52. +33 −29 tests/test_fields/test_bytes.py
  53. +72 −76 tests/test_fields/test_challenge.py
  54. +3 −4 tests/test_fields/test_configtype_field.py
  55. +222 −5 tests/test_fields/test_dict.py
  56. +63 −62 tests/test_fields/test_field.py
  57. +39 −36 tests/test_fields/test_filename.py
  58. +31 −31 tests/test_fields/test_include.py
  59. +12 −11 tests/test_fields/test_instance_method.py
  60. +54 −49 tests/test_fields/test_list.py
  61. +26 −26 tests/test_fields/test_net.py
  62. +6 −9 tests/test_fields/test_number.py
  63. +23 −38 tests/test_fields/test_secure.py
  64. +64 −65 tests/test_fields/test_string.py
  65. +9 −14 tests/test_fields/test_virtual.py
  66. +3 −5 tests/test_formats/test_bson.py
  67. +3 −4 tests/test_formats/test_json.py
  68. +2 −3 tests/test_formats/test_pickle.py
  69. +16 −17 tests/test_formats/test_registry.py
  70. +16 −30 tests/test_formats/test_xml.py
  71. +15 −11 tests/test_formats/test_yaml.py
  72. +48 −49 tests/test_schema.py
  73. +57 −51 tests/test_stubs.py
  74. +133 −72 tests/test_support.py
  75. +0 −14 tox.ini
24 changes: 22 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1",
"version": "0.2",
"words": [
"meily",
"cincoconfig",
@@ -33,6 +33,25 @@
"autogenerate",
"autogenerated",
"asdict",
"noqa",
"rpartition",
"pyright",
"strerror",
"ciphertext",
"startdir",
"netbios",
"hostname",
"hostnames",
"modname",
"typestr",
"subkey",
"prefixlen",
"subval",
"reparsed",
"autocompleter",
"getframe",
"subconfig",
"subconfigs",

// spinx docs
"autofunction",
@@ -43,7 +62,8 @@
"modindex",
"toctree",
"autodata",
"maxdepth"
"maxdepth",
"linenos"
],
"dictionaries": [
"en_US",
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev,yaml,bson,crypto
- name: Linting
run: |
poetry run poe check-format
poetry run poe lint
poetry run poe check-typing
- name: Test with pytest
env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
poetry run poe tests
poetry run coverage xml
curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz && ./coveralls -f coverage.xml
spelling:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v2
with:
config: ".cspell.json"
files: |
cincoconfig/**/*.py
docs/*.rst
CHANGELOG.md
Loading