Compare commits
No commits in common. "9c4aa2799bb28af2e6d080d5bd6151041b285274" and "651806c0e4f26a70346fbd98fb064202e0ebfa70" have entirely different histories.
9c4aa2799b
...
651806c0e4
|
@ -607,7 +607,7 @@ local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
|||
-- default language servers
|
||||
local servers = {
|
||||
'clangd', 'rust_analyzer', 'pyright', 'tsserver', 'sumneko_lua', 'cmake', 'tailwindcss', 'prismals',
|
||||
'rnix', 'eslint', 'terraformls', 'tflint', 'svelte', 'astro', 'clojure_lsp', "bashls", 'yamlls', "ansiblels",
|
||||
'rnix', 'eslint', 'terraformls', 'tflint', 'svelte', 'astro', 'clojure_lsp', "bashls", 'yamlls',
|
||||
"jsonls", "denols"
|
||||
}
|
||||
require("mason").setup({
|
||||
|
|
|
@ -55,9 +55,6 @@ let
|
|||
pkgs.nodePackages.pyright
|
||||
pkgs.python3Packages.pylint
|
||||
pkgs.python3Packages.flake8
|
||||
# pkgs.ansible-lint
|
||||
pkgs.python38Packages.ansible
|
||||
pkgs.ansible-language-server
|
||||
# TODO: the devShell should provide rust-analyzer so that
|
||||
# cargo test builds binaries compatible with rust-analyzer
|
||||
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# A Python project that uses Poetry for packaging and package management
|
||||
|
||||
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
|
||||
|
||||
- Bootstrapped with [pegasust/dotfiles](https://git.pegasust.com/pegasust/dotfiles)
|
||||
|
||||
- Provides [devShell (`nix develop`)](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-develop.html),
|
||||
[shell.nix (`nix-shell -p ./`)](https://nixos.org/manual/nix/stable/command-ref/nix-shell.html)
|
||||
|
||||
- Install [nix-direnv](https://github.com/nix-community/nix-direnv) here for automatic
|
||||
dev-shell integration
|
||||
|
||||
## Bootstrapping the project
|
||||
|
||||
- This repo uses [poetry](https://python-poetry.org/docs/cli/#init), a repo-manager
|
||||
with an intuitive CLI
|
||||
|
||||
```sh
|
||||
poetry init
|
||||
```
|
||||
|
||||
### Libraries worth integrating
|
||||
|
||||
- [tophat/syrupy](https://github.com/tophat/syrupy) Snapshot testing plugin for (builtin) pytest
|
||||
|
||||
```sh
|
||||
poetry add --group dev syrupy
|
||||
```
|
||||
- [HypothesisWorks/hypothesis](https://github.com/HypothesisWorks/hypothesis)
|
||||
Hypothesis testing (generate testing data) framework - data driven testing.
|
||||
|
||||
```sh
|
||||
poetry add --group dev hypothesis
|
||||
```
|
||||
|
||||
- [requests](https://github.com/psf/requests) An intuitive way to perform network requests in Python
|
||||
|
||||
```sh
|
||||
poetry add requests
|
||||
```
|
||||
|
||||
- [plotly](https://github.com/plotly/plotly.py) Create plots.
|
||||
|
||||
```sh
|
||||
poetry add plotly
|
||||
```
|
||||
|
||||
- [toolz](https://github.com/pytoolz/toolz) Functional programming in Python
|
||||
- Beware, you might lose typesafety doing this, but this is what the
|
||||
[REPL](https://github.com/Olical/conjure/wiki/Quick-start:-Python-(stdio))
|
||||
is invented to mitigate.
|
||||
|
|
@ -35,7 +35,7 @@ for logging needs
|
|||
|
||||
### Library development
|
||||
|
||||
- [proptest](https://lib.rs/crates/proptest) for hypothesis testing
|
||||
- [proptest](https://lib.rs/crates/proptest) for hyppothesis testing
|
||||
- Data-driven testing starts with proptest
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue