Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several changes to infractstructure #96

Merged
merged 6 commits into from Apr 13, 2022

Conversation

PicoCentauri
Copy link
Collaborator

  • Fix isort dependency
  • Added tests for Python 3.10
  • Introduce new setup.cfg and pyproject.toml
  • Update authors

@PicoCentauri PicoCentauri force-pushed the setupcfg branch 3 times, most recently from 10eba9a to bb66cdc Compare April 8, 2022 08:54
@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #96 (e216b24) into main (60cf9f2) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   83.09%   83.15%   +0.06%     
==========================================
  Files           8        8              
  Lines         550      552       +2     
  Branches      104      109       +5     
==========================================
+ Hits          457      459       +2     
+ Misses         76       75       -1     
- Partials       17       18       +1     
Impacted Files Coverage Δ
src/mdacli/__init__.py 100.00% <100.00%> (ø)
src/mdacli/save.py 53.89% <0.00%> (ø)
src/mdacli/libcli.py 97.57% <0.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60cf9f2...e216b24. Read the comment docs.

* Fix isort dependency
* Added tests for Python 3.10
* Introduce new setup.cfg and pyproject.toml
* Update __authors__
Copy link
Member

@joaomcteixeira joaomcteixeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always going forward 😉 Cheers!

setup.cfg Show resolved Hide resolved
license = GPLv3
license_files = LICENSE
url = https://github.com/MDAnalysis/mdacli
author = attr:pycoulomb.__authors__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never seen this. Can you explain to me, please? ☺️

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice feature of the 'new' cfg files. Probably works only for pure python package but us it is nice! It allows certain special directives:

attr: - Value is read from a module attribute. attr: supports callables and iterables; unsupported types are cast using str().
In order to support the common case of a literal value assigned to a variable in a module containing (directly or indirectly) third-party imports, attr: first tries to read the value from the module by examining the module’s AST. If that fails, attr: falls back to importing the module.

file: - Value is read from a list of files and then concatenated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting 😉

* Fix isort dependency
* Added tests for Python 3.10
* Introduce new setup.cfg and pyproject.toml
* Update __authors__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are the new authors?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no new, but I just changed the list in the init.py file

@PicoCentauri
Copy link
Collaborator Author

PicoCentauri commented Apr 12, 2022

@joaomcteixeira do you know why RTD is not finding MDAnalysis?

And why the build test is now failing?

EDIT: Fixed it

@pep8speaks
Copy link

pep8speaks commented Apr 12, 2022

Hello @PicoCentauri! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-04-12 13:31:50 UTC

Copy link
Member

@joaomcteixeira joaomcteixeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great! 🚀

license = GPLv3
license_files = LICENSE
url = https://github.com/MDAnalysis/mdacli
author = attr:pycoulomb.__authors__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting 😉

@PicoCentauri PicoCentauri merged commit 75b36fb into MDAnalysis:main Apr 13, 2022
joaomcteixeira added a commit that referenced this pull request Apr 13, 2022
Several changes to infractstructure (#96)

* Fix isort dependency
* Added Python 3.10
* Introduce new setup.cfg and pyproject.toml
* Update __authors__
* Add py3.10 to classifiers
* Cleanup RTD conf
@joaomcteixeira joaomcteixeira mentioned this pull request Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants