Coder Social home page Coder Social logo

ramonhagenaars / conf Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 21 KB

A *very* simple and *lightweight* configuration loader and parser for Python.

License: MIT License

Python 100.00%
python configuration config configuration-file configurable configuration-loader configuration-parser

conf's People

Contributors

gijzelaerr avatar ramonhagenaars avatar stan-janssen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

conf's Issues

mypy type hinting not working

λ  .venv/bin/mypy inpai
inpai/params_definition.py:8: error: Cannot find module named 'jsons'
inpai/execution/monitors/base_monitor.py:3: error: Cannot find module named 'jsons'
inpai/execution/monitors/base_monitor.py:3: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
inpai/execution/monitors/gui_monitor.py:6: error: Cannot find module named 'jsons'
inpai/execution/monitors/elasticsearch_stdout_monitor.py:4: error: Cannot find module named 'jsons'

https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports

If the module is a third party library, you must make sure that there are type hints available for that library. Mypy by default will not attempt to infer the types of any 3rd party libraries you may have installed unless they either have declared themselves to be PEP 561 compliant stub package or have registered themselves on typeshed, the repository of types for the standard library and some 3rd party libraries.

yaml.load() gives warning for python 3.7

/Users/gijs/Work/conf/conf/parsers.py:11: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  loaded = yaml.load(file_stream)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.