Skip to content

Latest commit

 

History

History
94 lines (59 loc) · 1.08 KB

README.md

File metadata and controls

94 lines (59 loc) · 1.08 KB

Demo of xc

There is IDE support for vscode and VIM. The docs are quite good.

Tasks

This repository is xc compliant. The following tasks are available:

demo_input

Try with no arg. Then try with arg

inputs: AN_ARG

echo $AN_ARG

demo_env

Shows that you can't override MYVAR

environment: MYVAR=Default

echo $MYVAR

demo_dir

Can't run until the directory exists!

directory: ./build

echo $PWD

demo_inputs

Try with no args. Then try with just one arg.

inputs: VAR1, VAR2 environment: VAR2=default_var2

echo $VAR1 $VAR2

demo_requirements

See that both run!

requires: demo_env

echo requirements met!

demo_shebang

Lets see if python works

#!/usr/local/bin/python3
print("I'm a real python!")

install

Install our poetry project

poetry install --with dev

format

Format our poetry project

isort .
black .

test

Lint and test

mypy .
flake8 .
pytest