Comments (3)
@jelmer in #76 I am giving my best shot, given the circumstances (and trying to avoid breaking the downstream users' test suite with strict warning filters).
from ini2toml.
Hi @jelmer, currently this tool will use a "best effort guess" when it comes up with a section it does not have a plugin for. This is kind of intended because the project primary use is setup.cfg
but it is not restricted to it.
That is why the docs recommend the user to review the configuration before using it.
We can add something in the logs every time that the "best effort guess" is used. I will have a look on this when I have some time. If any other member of the community would like to give it a go, PRs are also welcomed.
from ini2toml.
Yeah, I appreciate that. Even with that in mind though, it'd be great for the tool to provide a hint to the user.
from ini2toml.
Related Issues (20)
- Change order of sections
- Enforce multi-line tables for entry-points HOT 1
- Enforce sigle-quote strings for dependencies? HOT 1
- Use `tomlkit` instead of `atoml`
- Some packages use `,` AND a newline to separate keywords
- Don't map `license-files` into `project.license.file`?
- Value of setup.cfg `[options.package_data]` entry `* = [...]` is converted to a string representation of `[...]` HOT 8
- 0.10: sphinx warnings HOT 5
- 0.10: pytest is failing HOT 18
- The `ini_loads_fn` and `toml_dumps_fn` should be documented somewhere...
- Create simpler "readme =" under [project] instead of [project.readme] section? HOT 1
- Migrate the pylint's configuration file (``.pylintrc`` and ``pylintrc``) HOT 3
- Pulling metadata out of setup.py HOT 1
- self-tests fail against tomlkit 0.11.6 HOT 2
- autoformatting against pyproject-fmt 0.4.0 HOT 1
- ValueError: Value for `packages` expected to be a table, found 'find:' HOT 2
- `install_requires = file: requirements.txt` converted to `dependencies = ["file: requirements.txt"]` HOT 4
- pytest filterwarnings translated incorrectly
- AttributeError: 'bool' object has no attribute 'splitlines' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ini2toml.