Coder Social home page Coder Social logo

artifact_py's People

Contributors

vitiral avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

artifact_py's Issues

Fix lint issues

make lint shows a whole bunch of trivial lint issues that I have yet to address. Would be good to get things documented a little bit and other fixes.

`make init` fails on Ubuntu 18.04 LTS

Before I start trying to get things working on Windows, I thought I'd try on Ubuntu. I have standard installs of virtualenv, python2, python3, make, and most other traditional development utilities installed. When I try to run make init, I receive the following output:

josh@dev:~/Projects/artifact_py$ make init
# python2
virtualenv --python=python2 py2
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/josh/Projects/artifact_py/py2/bin/python2
Also creating executable in /home/josh/Projects/artifact_py/py2/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
py2/bin/pip install -r requirements.txt
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting anchor_txt (from -r requirements.txt (line 1))
Collecting networkx (from -r requirements.txt (line 2))
Collecting pyyaml (from -r requirements.txt (line 3))
Collecting six (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting decorator>=4.3.0 (from networkx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Installing collected packages: six, pyyaml, anchor-txt, decorator, networkx
Successfully installed anchor-txt-0.1.6 decorator-4.4.0 networkx-2.2 pyyaml-5.1.1 six-1.12.0
py2/bin/pip install -e ../anchor_txt
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: ../anchor_txt is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).
Makefile:13: recipe for target 'init' failed
make: *** [init] Error 1

I tried a few different edits to the makefile, using file:///, etcetera, but was unable to perform a successful fix. I am not very familiar with using virtualenv, so it may simply be that I have set something up incorrectly. Input or suggestions would be appreciated :)

Add lint module

artifact_py lint should run lints. The general design is defined at https://github.com/vitiral/artifact_py#SPC-design.lint

The items to complete are:

  • partof links that do not exist
  • A REQ or SPC being partof a TST
  • Extra impl links in code (project.impls dict[str, list]` for this reason)
  • Having an artifact specified as "done" having an impl
  • Artifact or subpart like links in text (i.e. [REQ-does-not-exist]) that do not exist
  • Design docs not being updated (suggest artifact export --format md -i to fix).
  • [ ] A link being found in code that does not have the doc_url prefixed. (i.e. artifact expects links in code to look like myurl.com/design#REQ-foo). This will need a new setting like doc_url

This can be done in separate PRs or several combined into a single.

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.