Comments (7)
Having one more file to maintain has a cost, but if it can automatically pull in deps and such (e.g., using pip install .[dev]
or whatever inside the container) it sounds painless enough. So +1 from me
from codespell.
What would a dev container look like? Right now, you “just” need to:
- install Python,
- run
pip install -e ".[dev]"
.
from codespell.
@DimitriPapadopoulos That is likely. Codespell doesn't have many requirements, so it would be a relatively simple config file. The nice thing with dev containers is the integration with VSCode and a few other editors that allows you to setup a consistent, containerized development environment in one button click. It's definitely not a need, but I've found them very helpful when juggling multiple development environments between projects.
from codespell.
I must admit my ignorance, I don't know what a “dev container” for IDEs looks like. Is the expected format standard?
Should it be maintained in this repository, or perhaps a new repository under https://github.com/codespell-project? How do other projects manage that?
from codespell.
Apologies. I probably should've explained the technology more. Dev containers are an open standard Microsoft put together. It's effectively just a JSON file that describes a standard Docker development environment and would live in the Codespell repository. Here's an example.
Currently, this is used by GitHub Codespaces, which is GitHub's cloud development solution. VSCode has a first-party extension for this. There's also a CLI and support has been or is being added to quite a few other code editors.
from codespell.
So this would just involve adding a small .devcontainer/devcontainer.json
file, wouldn't it?
@larsoner Would you agree to add such a file?
from codespell.
That is correct. Unless you actively use dev containers, it'll just mean one more config file in the repo and wouldn't impact current local development setups. Wanted to run this by you first since this is a somewhat opinionated technology, but if y'all are open to this, I'd be happy to set this up. I find it extremely useful as a sort of venv alternative.
from codespell.
Related Issues (20)
- Force case of words ? Example: wednesday->Wednesday HOT 2
- Ignore line endings for testing --exclude-file contents HOT 9
- `--ignore-words` should itself be a `--skip` implicitly HOT 1
- Yeah HOT 1
- Typo not detected
- Feature: Ignore files not under version control HOT 7
- Missing typo in dictionary
- Detection of string delimiters HOT 15
- Codespell behaves differently in pre-commit when referencing files to exclude HOT 1
- Allow defining pyproject.toml argument check-filenames as a boolean HOT 3
- The value of "--interactive" is not restricted
- Question: how can I create a space seperated word in a dictionary? HOT 1
- I can't get ignore-words to work HOT 1
- remove `crate -> create` HOT 3
- Add GNUAspell/bench’s common-all/batch0.tab dictionary
- Redundant sort test HOT 3
- `setuptools_scm` dependency HOT 2
- Ignore regular expressions HOT 6
- question: how to print filename of the file being processed?
- Support namespaced dictionary packages HOT 1
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 codespell.