Git Product home page Git Product logo

bng's People

Contributors

iamnandhu avatar volcan01010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bng's Issues

Fix typos on READMEs

Summary

As a BNG.py user, I want the typos in the README to be fixed so that I don't get confused about function names.

Description

There are multiple places were "osgb" is misspelled as "osbg36". These should be fixed.

Acceptance criteria

  • All misspelled osbg36 strings are replaced with osgb36

Add type hints to function signatures

Summary

As a BNG user, I want type hints on the function signatures so that my IDE can tell me what types to expect.

Description

Adding type hints (https://realpython.com/lessons/type-hinting/) helps IDEs with autocompletion and gives users information about what inputs they are required to provide.

Acceptance criteria

  • to_osgb36 has type hints on the function signature
  • from_osgb36 has type hints on the function signature

Check doctests

Summary

As a BNG.py developer, I want to use doctests to ensure that the documentation is correct.

Description

Doctests run Python code given as examples in docstrings and confirms that the results are as expected.

https://docs.python.org/3/library/doctest.html

BNG has such code in the docstrings, but the tests have never been tried.

Acceptance

  • Add if '__name__' == '__main__' section to allow easy running of doctests
  • Confirm that doctests all pass

Fix version numbers

Summary

As a BNG user, I want the version numbers to be consistent so that I know which version I am using.

Description

The version in setup.py (1.0.5) is different to the version in bng.py (1.0.3) is different to the released version (1.0.4).

The version number in bng.py should be set to 1.0.5 and a release made of v1.0.5.

Acceptance criteria

  • Released version 1.0.5 has v1.0.5 in both the setup.py and bng.py

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.